bgfx/3rdparty/glsl-optimizer/tests/fragment/opt-dead-texloads-out.txt
2012-10-07 20:41:18 -07:00

10 lines
146 B
Text

void main ()
{
vec2 uv_1;
uv_1 = gl_TexCoord[0].xy;
if ((uv_1.x < 0.0)) {
discard;
};
gl_FragData[0] = vec4(0.5, 0.5, 0.5, 0.5);
}