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
ARB_ubo/referenced-by-shader: pass if shader compiler moves UBOs between shaders
[piglit.git]
/
tests
/
spec
/
glsl-1.10
/
execution
/
swizzle.shader_test
blob
96102879783f985720ec09cea8d234f33c5cbc4e
1
[require]
2
GLSL >= 1.10
3
4
[fragment shader]
5
void main()
6
{
7
vec4 a = vec4(0.5, 0.25, 0.0, 1.0);
8
gl_FragColor = a.yxxz;
9
}
10
11
12
[test]
13
draw rect -1 -1 2 2
14
relative probe rgba (0.5, 0.5) (0.25, 0.5, 0.5, 0.0)