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-07.vert
blob
53666664199da7accdf7205b2e20f581182f3918
1
/* FAIL - function does not return a value */
2
3
vec4 foo(in float x)
4
{
5
vec4 v;
6
v.x = x;
7
v.y = x;
8
v.z = x;
9
v.w = x;
10
}
11
12
void main()
13
{
14
gl_Position = foo(2.0);
15
}