bgfx/3rdparty/glsl-optimizer/tests/fragment/opt-ifs-out.txt
2014-02-10 23:06:13 -08:00

12 lines
228 B
Text

void main ()
{
vec4 c_1;
c_1 = vec4(0.0, 0.0, 0.0, 0.0);
if (((gl_FragCoord.x > 0.5) && (gl_FragCoord.y > 0.5))) {
c_1 = vec4(0.5, 0.5, 0.5, 0.5);
};
gl_FragColor = c_1;
}
// inputs: 1, stats: 5 alu 0 tex 1 flow