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

15 lines
258 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;
2014-02-11 02:06:13 -05:00
for (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
// inputs: 1, stats: 7 alu 0 tex 2 flow