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

22 lines
360 B
Plaintext
Raw Permalink Normal View History

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)) {
2020-07-12 19:59:11 +02:00
break;
}
}
l2 = vec2(0.0);
for (float l3 = 10.0; l3 >= 0.0; l3 -= 2.0) {
if (((l2).x) < (100.0)) {
2020-07-12 19:59:11 +02:00
continue;
}
(l2).x = ((l2).x) + (l3);
2020-07-12 19:59:11 +02:00
}
return l0;
2020-07-12 19:59:11 +02:00
}