bgfx/3rdparty/glsl-optimizer/tests/fragment/loop-fornounroll-outES.txt
2015-04-02 23:30:48 -07:00

16 lines
315 B
Text

void main ()
{
highp float f_1;
f_1 = 0.0;
for (highp int i_2 = 0; i_2 < 32; i_2++) {
f_1 = (f_1 + (gl_FragCoord.x * float(i_2)));
};
highp vec4 tmpvar_3;
tmpvar_3 = vec4(f_1);
gl_FragColor = tmpvar_3;
}
// stats: 7 alu 0 tex 2 flow
// inputs: 1
// #0: gl_FragCoord (high float) 4x1 [-1] loc 0