1/* PASS */ 2 3vec4 foo(in float x, in float y, float z, float w) 4{ 5 vec4 v; 6 v.x = x; 7 v.y = y; 8 v.z = z; 9 v.w = w; 10 return v; 11} 12 13vec4 foo(in float x) 14{ 15 vec4 v; 16 v.x = x; 17 v.y = x; 18 v.z = x; 19 v.w = x; 20} 21 22void main() 23{ 24 gl_Position = foo(1.0, 1.0, 1.0, 0.0); 25 gl_Position = foo(2.0); 26} 27