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