mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 11:20:11 +01:00
15 lines
190 B
GLSL
15 lines
190 B
GLSL
/* FAIL - type mismatch in assignment */
|
|
|
|
vec3 foo(float x, float y, float z)
|
|
{
|
|
vec3 v;
|
|
v.x = x;
|
|
v.y = y;
|
|
v.z = z;
|
|
return v;
|
|
}
|
|
|
|
void main()
|
|
{
|
|
gl_Position = foo(1.0, 1.0, 1.0);
|
|
}
|