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

17 lines
315 B
Text
Raw Normal View History

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