bgfx/3rdparty/glsl-optimizer/tests/fragment/tex2dlod-outES.txt
2013-03-17 11:29:03 -07:00

12 lines
279 B
Text

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