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
/
vs-swizzle-swizzle-lhs-3.shader_test
blob
3213c259dd86277507786033216bbd697ec2e771
1
[require]
2
GLSL >= 1.10
3
4
[vertex shader]
5
void main()
6
{
7
vec4 color = vec4(0.1, 0.2, 0.3, 0.4);
8
color.wxz.yx.y = 1.0;
9
gl_FrontColor = color;
10
gl_Position = gl_Vertex;
11
}
12
13
[fragment shader]
14
void main()
15
{
16
gl_FragColor = gl_Color;
17
}
18
19
[test]
20
draw rect -1 -1 2 2
21
probe rgba 1 1 0.1 0.2 0.3 1.0