1#version 310 es 2 3precision highp float; 4 5float g4[4]; 6float g5[5]; 7 8layout(location = 0) out vec2 colorOut; 9 10float[4] foo(float a[5]) 11{ 12 return float[](a[0], a[1], a[2], a[3]); 13} 14 15void main() 16{ 17 g4 = foo(g5); 18 19 if (float[4](1.0, 2.0, 3.0, 4.0) == g4) 20 ; 21 22 float u[5]; 23 foo(u); 24 25 colorOut = vec2(g4.length(), g5.length()); 26} 27