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
/
shaders
/
glsl-version-define.shader_test
blob
de775efc7de33a81bab5e5f29bbbf0f551c2bf2c
1
[require]
2
GL >= 2.0
3
GLSL >= 1.10
4
5
[vertex shader]
6
void main()
7
{
8
gl_Position = gl_Vertex;
9
}
10
11
[fragment shader]
12
void main()
13
{
14
gl_FragColor = vec4(0.0, float(__VERSION__) / 120.0, 0.0, 0.0);
15
}
16
17
[test]
18
draw rect -1 -1 2 2
19
probe rgba 1 1 0.0 0.916 0.0 0.0