bgfx/3rdparty/glsl-optimizer/tests/fragment/tex2dlod-outES.txt
2014-02-10 23:06:13 -08:00

14 lines
320 B
Text

#extension GL_EXT_shader_texture_lod : enable
uniform sampler2D tex;
varying highp vec4 xlv_TEXCOORD0;
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;
}
// inputs: 1, stats: 0 alu 1 tex 0 flow