projects
/
mesa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge remote branch 'origin/master' into glsl2
[mesa.git]
/
src
/
glsl
/
tests
/
function-04.glsl
1
/* FAIL - type mismatch in assignment */
2
3
vec3 foo(float x, float y, float z)
4
{
5
vec3 v;
6
v.x = x;
7
v.y = y;
8
v.z = z;
9
return v;
10
}
11
12
void main()
13
{
14
gl_Position = foo(1.0, 1.0, 1.0);
15
}