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
arb_framebuffer_object: add missing MSAA alpha-to-coverage and alpha-to-one tests
[piglit.git]
/
tests
/
spec
/
glsl-1.20
/
linker
/
invariant-position.shader_test
blob
a3273ca6d8b23e68caf023ff96c3f02a011019fc
1
[require]
2
GLSL >= 1.20
3
4
# This test exercises a Mesa GLSL regression where declaring a pre-defined
5
# VS input as 'invariant' caused a linker failure.
6
7
[vertex shader]
8
#version 120
9
invariant gl_Position;
10
void main()
11
{
12
gl_Position = ftransform();
13
}
14
15
16
[fragment shader]
17
#version 120
18
void main()
19
{
20
gl_FragColor = vec4(1.0);
21
}
22
23
24
[test]
25
link success