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
ext_gpu_shader4: add compiler tests for everything
[piglit.git]
/
tests
/
spec
/
glsl-1.10
/
execution
/
global-vars-and-initializers.shader_test
blob
b5fe790a0700eacfc17a61d497dd31f8d8312391
1
[require]
2
GLSL >= 1.10
3
4
[fragment shader]
5
vec4 c = vec4(1.0, 0.5, 0.25, 0.0);
6
void main()
7
{
8
gl_FragColor = c;
9
}
10
11
12
[test]
13
draw rect -1 -1 2 2
14
relative probe rgba (0.5, 0.5) (1.0, 0.5, 0.25, 0.0)