bgfx/3rdparty/glsl-optimizer/tests/fragment/tex2dlod-outES.txt

13 lines
276 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
#extension GL_ARB_shader_texture_lod : enable
varying highp vec4 xlv_TEXCOORD0;
uniform sampler2D tex;
void main ()
{
mediump vec4 tmpvar_1;
2012-10-07 23:41:18 -04:00
lowp vec4 tmpvar_2;
tmpvar_2 = texture2DLod (tex, xlv_TEXCOORD0.xy, 0.0);
tmpvar_1 = tmpvar_2;
2012-04-03 23:30:07 -04:00
gl_FragData[0] = tmpvar_1;
}