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

25 lines
423 B
Text

void main ()
{
float a_2;
if ((gl_FragCoord.x == 1.0)) {
discard;
};
a_2 = 4.0;
for (int i_1 = 0; i_1 < 10; i_1++, a_2 += 1.0) {
};
while (true) {
a_2 += 2.0;
break;
};
float tmpvar_3;
tmpvar_3 = (a_2 + 1.0);
float tmpvar_4;
tmpvar_4 = inversesqrt((-(
(tmpvar_3 * tmpvar_3)
) - 1.0));
a_2 = tmpvar_4;
gl_FragColor = vec4(tmpvar_4);
}
// inputs: 1, stats: 12 alu 1 tex 4 flow