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-precision-110.shader_test
blob
547e82a42e1262e9f092b5be97de856c8b11f7d5
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
#version 110
13
14
void main()
15
{
16
float lowp = 1.0;
17
18
gl_FragColor = vec4(0.0, lowp, 0.0, 0.0);
19
}
20
21
[test]
22
draw rect -1 -1 2 2
23
probe rgba 1 1 0.0 1.0 0.0 0.0