summaryrefslogtreecommitdiff
path: root/src/glsl/tests/function-03.glsl
blob: b0da42f8e96d456ed9dd3402e8435cbd47637f84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* PASS */

vec4 foo(in float x, in 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, 0.0);
}