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

12 lines
255 B
Text
Raw Normal View History

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