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

19 lines
411 B
Text
Raw Normal View History

2013-03-17 14:29:03 -04:00
#extension GL_EXT_shader_texture_lod : enable
2012-04-03 23:30:07 -04:00
uniform sampler2D tex;
2014-02-11 02:06:13 -05:00
varying highp vec4 xlv_TEXCOORD0;
2012-04-03 23:30:07 -04:00
void main ()
{
mediump vec4 tmpvar_1;
2012-10-07 23:41:18 -04:00
lowp vec4 tmpvar_2;
2013-03-17 14:29:03 -04:00
tmpvar_2 = texture2DLodEXT (tex, xlv_TEXCOORD0.xy, 0.0);
2012-10-07 23:41:18 -04:00
tmpvar_1 = tmpvar_2;
2012-04-03 23:30:07 -04:00
gl_FragData[0] = tmpvar_1;
}
2014-02-11 02:06:13 -05:00
2014-10-11 15:32:43 -04:00
// stats: 0 alu 1 tex 0 flow
// inputs: 1
// #0: xlv_TEXCOORD0 (high float) 4x1 [-1]
// textures: 1
// #0: tex (low 2d) 0x0 [-1]