ebiten/internal/shader/testdata/call_multiple.expected.vs
2021-11-14 17:34:06 +09:00

21 lines
363 B
GLSL

void F0(in vec2 l0, out vec2 l1);
void F1(in float l0, out float l1, out float l2);
void F0(in vec2 l0, out vec2 l1) {
float l2 = float(0);
float l3 = float(0);
float l4 = float(0);
float l5 = float(0);
F1((l0).x, l2, l3);
l4 = l2;
l5 = l3;
l1 = vec2(l4, l5);
return;
}
void F1(in float l0, out float l1, out float l2) {
l1 = l0;
l2 = l0;
return;
}