ebiten/internal/shader/testdata/for2.expected.vs

22 lines
360 B
GLSL

vec2 F0(void);
vec2 F0(void) {
vec2 l0 = vec2(0);
vec2 l2 = vec2(0);
l0 = vec2(0.0);
for (int l1 = 0; l1 < 100; l1++) {
(l0).x = ((l0).x) + (float(l1));
if (((l0).x) >= (100.0)) {
break;
}
}
l2 = vec2(0.0);
for (float l3 = 10.0; l3 >= 0.0; l3 -= 2.0) {
if (((l2).x) < (100.0)) {
continue;
}
(l2).x = ((l2).x) + (l3);
}
return l0;
}