ebiten/internal/shader/testdata/var2.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

10 lines
150 B
GLSL

void F0(in vec2 l0, out vec4 l1) {
vec4 l2 = vec4(0);
vec4 l3 = vec4(0);
l2 = vec4(l0, 0.0, 1.0);
(l2).x = (l2).x;
l3 = l2;
l1 = l3;
return;
}