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
/
writemask.shader_test
blob
653f13f817b3efde1dfdf5271dd7da568f86dc1f
1
[require]
2
GLSL >= 1.10
3
4
[fragment shader]
5
void main()
6
{
7
gl_FragColor = vec4(1.0);
8
gl_FragColor.x = 0.5;
9
gl_FragColor.z = 0.25;
10
}
11
12
13
[test]
14
draw rect -1 -1 2 2
15
relative probe rgba (0.5, 0.5) (0.5, 1.0, 0.25, 1.0)