bgfx/3rdparty/glsl-optimizer/tests/fragment/loop-fornounroll-outES.txt

14 lines
211 B
Plaintext
Raw Normal View History

2013-03-17 22:29:03 +04:00
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);
}