ebiten/internal/shader/testdata/call_multiple.expected.vs
Hajime Hoshi 2869885816 shaderir: Fix the initial variable values on GLSL
This is for consistency with number literals we are introducing.

Updates #1190
2020-06-17 01:59:02 +09:00

18 lines
286 B
GLSL

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, (l0).y, 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;
}