bgfx/3rdparty/glsl-optimizer/tests/fragment/loop-fornounroll-outES.txt
2014-02-10 23:06:13 -08:00

14 lines
258 B
Text

void main ()
{
highp float f_1;
f_1 = 0.0;
for (int i_2 = 0; i_2 < 32; i_2++) {
f_1 = (f_1 + (gl_FragCoord.x * float(i_2)));
};
highp vec4 tmpvar_3;
tmpvar_3 = vec4(f_1);
gl_FragColor = tmpvar_3;
}
// inputs: 1, stats: 7 alu 0 tex 2 flow