bgfx/3rdparty/glsl-optimizer/tests/fragment/opt-dead-texloads-out.txt

13 lines
187 B
Plaintext
Raw Normal View History

2012-10-08 07:41:18 +04:00
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);
}
2014-02-11 11:06:13 +04:00
// inputs: 1, stats: 2 alu 1 tex 1 flow