repo.or.cz
/
piglit
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add more structure constructor tests.
[piglit/hramrach.git]
/
tests
/
glslparsertest
/
glsl2
/
function-04.vert
blob
dfc0d2b7a6cf1ef1ecfd88517c5de467adc04e95
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
}