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

17 lines
315 B
Plaintext
Raw Normal View History

2013-03-17 22:29:03 +04:00
void main ()
{
2014-02-11 11:06:13 +04:00
highp float f_1;
2013-03-17 22:29:03 +04:00
f_1 = 0.0;
2015-04-03 09:30:48 +03:00
for (highp int i_2 = 0; i_2 < 32; i_2++) {
2013-03-17 22:29:03 +04:00
f_1 = (f_1 + (gl_FragCoord.x * float(i_2)));
};
2014-02-11 11:06:13 +04:00
highp vec4 tmpvar_3;
tmpvar_3 = vec4(f_1);
gl_FragColor = tmpvar_3;
2013-03-17 22:29:03 +04:00
}
2014-02-11 11:06:13 +04:00
2014-10-11 23:32:43 +04:00
// stats: 7 alu 0 tex 2 flow
// inputs: 1
// #0: gl_FragCoord (high float) 4x1 [-1] loc 0