ebiten/internal/shader/testdata/if.expected.vs
2020-07-28 00:04:03 +09:00

13 lines
146 B
GLSL

void F0(out vec2 l0);
void F0(out vec2 l0) {
bool l1 = false;
l1 = true;
if (l1) {
l0 = vec2(0.0);
return;
}
l0 = vec2(1.0);
return;
}