repo.or.cz
/
piglit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ext_gpu_shader4: add compiler tests for everything
[piglit.git]
/
tests
/
spec
/
glsl-1.20
/
compiler
/
qualifiers
/
invariant-05.vert
blob
a5c3dcb4d22c33b2eaa88116bbaba7096cff625e
1
// [config]
2
// expect_result: fail
3
// glsl_version: 1.20
4
// [end config]
5
//
6
// all uses of invariant-qualifier must be at global scope.
7
#version 120
8
9
varying vec4 x;
10
11
void main()
12
{
13
invariant x; /* redeclaration */
14
gl_Position = vec4(0);
15
}
16