bgfx/3rdparty/glsl-optimizer/tests/fragment/loop-fornounroll-outES.txt
2013-03-17 11:29:03 -07:00

13 lines
211 B
Text

void main ()
{
mediump float f_1;
int i_2;
i_2 = 0;
f_1 = 0.0;
for (int i_2 = 0; i_2 < 32; ) {
f_1 = (f_1 + (gl_FragCoord.x * float(i_2)));
i_2 = (i_2 + 1);
};
gl_FragColor = vec4(f_1);
}