summaryrefslogtreecommitdiffstats
path: root/src/glsl/tests/function-02.glsl
blob: 941fcc1ef7b63b07f96895972c9633c749b1f44e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* 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);
}