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-sign.shader_test
blob
5a53122d97598be12e9a7de01a15312a2f8c5844
1
[require]
2
GL >= 2.0
3
GLSL >= 1.10
4
5
[vertex shader file]
6
glsl-mvp.vert
7
8
[fragment shader]
9
uniform vec4 arg0;
10
void main()
11
{
12
gl_FragColor = sign(arg0) + vec4(1.5, -0.5, 0.5, 0.5);
13
}
14
15
[test]
16
uniform vec4 arg0 -5.0 5.0 0.0 0.0
17
draw rect -1 -1 2 2
18
probe rgb 1 1 0.5 0.5 0.5 0.5