bgfx/3rdparty/glsl-optimizer/tests/fragment/tex2dlod-outES.txt
Branimir Karadzic dee3fe5266 Initial commit.
2012-04-03 20:30:07 -07:00

15 lines
360 B
Text

#extension GL_ARB_shader_texture_lod : enable
varying highp vec4 xlv_TEXCOORD0;
uniform sampler2D tex;
void main ()
{
mediump vec4 tmpvar_1;
highp vec4 tmpvar_2;
tmpvar_2.zw = vec2(0.0, 0.0);
tmpvar_2.xy = xlv_TEXCOORD0.xy;
lowp vec4 tmpvar_3;
tmpvar_3 = texture2DLod (tex, tmpvar_2.xy, 0.0);
tmpvar_1 = tmpvar_3;
gl_FragData[0] = tmpvar_1;
}