repo.or.cz
/
piglit
/
hramrach.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add more structure constructor tests.
[piglit/hramrach.git]
/
tests
/
shaders
/
glsl-vs-swizzle-swizzle-rhs.shader_test
blob
33ba58d09c2485f1938b9976791ef58993c2b5dd
1
[require]
2
GL >= 2.0
3
GLSL >= 1.10
4
5
[vertex shader]
6
void main()
7
{
8
vec4 color = vec4(1.0, 0.0, 0.0, 0.0);
9
gl_FrontColor = color.yzx.xzxx;
10
gl_Position = gl_Vertex;
11
}
12
13
[fragment shader file]
14
glsl-color.frag
15
16
[test]
17
draw rect -1 -1 2 2
18
probe rgb 1 1 0.0 1.0 0.0