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-05.vert
blob
d33c7bcfee71c9bf6747e4239ff56c3811b3d39e
1
/* FAIL - type qualifiers mismatch between declaration and definition */
2
3
void foo(float x, float y, float z, out float l);
4
5
void foo(float x, float y, float z, inout float l)
6
{
7
l = x + y + z;
8
}
9
10
void main()
11
{
12
float x;
13
foo(1.0, 1.0, 1.0, x);
14
gl_Position = vec4(x);
15
}