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
/
invariant-05.vert
blob
76cece3704b541b0e0f63a1b3dca5f71f6f5be2a
1
/* FAIL -
2
*
3
* From page 27 (page 33 of the PDF) of the GLSL 1.20 spec:
4
*
5
* "All uses of invariant must be at the global scope, and before any use
6
* of the variables being declared as invariant."
7
*/
8
#version 120
9
10
void main()
11
{
12
gl_Position = gl_Vertex;
13
}
14
15
invariant gl_Position;