ebiten/internal/shader/testdata/array.expected.vs
2020-08-01 17:22:10 +09:00

21 lines
348 B
GLSL

uniform vec2 U0[4];
void F0(out vec2 l0[2]);
void F1(out vec2 l0[2]);
void F0(out vec2 l0[2]) {
vec2 l1[2] = vec2[2](vec2(0), vec2(0));
l0 = l1;
return;
}
void F1(out vec2 l0[2]) {
vec2 l1[2] = vec2[2](vec2(0), vec2(0));
vec2 l2[2] = vec2[2](vec2(0), vec2(0));
(l1)[0] = vec2(1.0);
l2 = l1;
((l2)[1]).y = vec2(2.0);
l0 = l2;
return;
}