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-fs-exp.shader_test
blob
e6c85cd9a2dfceb6825cdac91f46ccb1bc8945b3
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
uniform vec4 arg0;
13
void main()
14
{
15
gl_FragColor = exp(arg0) + vec4(0.132120558828558,
16
-0.5,
17
-2.218281828459045,
18
-6.88905609893065);
19
}
20
21
[test]
22
uniform vec4 arg0 -1.0 0.0 1.0 2.0
23
draw rect -1 -1 2 2
24
probe rgba 1 1 0.5 0.5 0.5 0.5