Files
third_party_mesa3d/tests/function-03.glsl
Ian Romanick a705d65ccd Add 'in' to some parameters of the function
This goes along with the qualifier-?? tests.
2010-03-31 13:14:37 -07:00

17 lines
191 B
GLSL

/* 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);
}