mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 17:40:11 +01:00
17 lines
228 B
Text
17 lines
228 B
Text
|
|
/* FAIL - no version of 'foo' matches the call to 'foo' */
|
||
|
|
|
||
|
|
vec4 foo(float x, float y, float z, float w)
|
||
|
|
{
|
||
|
|
vec4 v;
|
||
|
|
v.x = x;
|
||
|
|
v.y = y;
|
||
|
|
v.z = z;
|
||
|
|
v.w = w;
|
||
|
|
return v;
|
||
|
|
}
|
||
|
|
|
||
|
|
void main()
|
||
|
|
{
|
||
|
|
gl_Position = foo(1.0, 1.0, 1.0);
|
||
|
|
}
|