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
perf/pixel-rate: new pixel throughput microbenchmark
[piglit.git]
/
tests
/
spec
/
glsl-1.10
/
execution
/
swizzled-writemask-indexing.shader_test
blob
f61ebabb8b89b54502ce2752cc68e1ee7a8294b7
1
[require]
2
GLSL >= 1.10
3
4
[vertex shader passthrough]
5
6
[fragment shader]
7
void main() {
8
gl_FragColor = vec4(1, 0, 0, 1);
9
gl_FragColor.wzyx[2] = 1.0;
10
gl_FragColor.wzyx[3] = 0.0;
11
}
12
13
[test]
14
draw rect -1 -1 2 2
15
probe all rgba 0 1 0 1