internal/shader: bug fix: test failures

Updates #2934
This commit is contained in:
Hajime Hoshi 2024-03-23 15:15:31 +09:00
parent 7842942b24
commit 66667fe877

View File

@ -5,7 +5,7 @@ void F2(in bool l0, out float l1, out vec2 l2);
float F0(void) {
float l0 = float(0);
{
l0 = 0;
l0 = 0.0;
}
return l0;
}
@ -14,9 +14,9 @@ void F1(out float l0, out vec2 l1) {
float l2 = float(0);
vec2 l3 = vec2(0);
{
int l4 = 0;
float l4 = float(0);
vec2 l5 = vec2(0);
l4 = 0;
l4 = 0.0;
l2 = l4;
l5 = vec2(0.0);
l3 = l5;
@ -30,9 +30,9 @@ void F2(in bool l0, out float l1, out vec2 l2) {
float l3 = float(0);
vec2 l4 = vec2(0);
{
int l5 = 0;
float l5 = float(0);
vec2 l6 = vec2(0);
l5 = 0;
l5 = 0.0;
l3 = l5;
l6 = vec2(0.0);
l4 = l6;