Merge branch 'glsl2-head' into glsl2
[mesa.git] / src / glsl / tests / function-01.glsl
1 /* FAIL - no function named 'foo' exists */
2
3 vec4 bar(float x, 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
13 void main()
14 {
15 gl_Position = foo(1.0, 1.0, 1.0, 0.0);
16 }