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

11 lines
255 B
Text

#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);
}