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
glsl-1.10: move a whole bunch shader tests to the glsl-1.10 dir
[piglit.git]
/
tests
/
shaders
/
glsl-floating-constant-120.shader_test
blob
5c7ec92e94b58c1a3d8b9ad80f3be4cbaf2993de
1
[require]
2
GLSL >= 1.20
3
4
[vertex shader]
5
void main()
6
{
7
gl_Position = gl_Vertex;
8
}
9
10
[fragment shader]
11
#version 120
12
13
void main()
14
{
15
float f1 = 1.0f;
16
float f2 = 0.F;
17
float f3 = .2f;
18
float f4 = 5e-1F;
19
20
gl_FragColor = vec4(f1, f2, f3, f4);
21
}
22
23
[test]
24
draw rect -1 -1 2 2
25
probe rgba 1 1 1.0 0.0 0.2 0.5