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
/
matrix-vector-multiply-lhs.shader_test
blob
45bcbc91aa02a792153c0efce5aed7ba3655a8d8
1
[require]
2
GLSL >= 1.10
3
4
[fragment shader]
5
void main()
6
{
7
mat4 m = mat4(
8
1.0, 0.5, 0.6, 0.0, // col 0
9
0.0, 1.0, 0.0, 0.7, // col 1
10
0.0, 0.0, 1.0, 0.8, // col 2
11
0.1, 0.2, 0.3, 1.0 // col 3
12
);
13
vec4 color = gl_Color * m;
14
gl_FragColor = color;
15
}
16
17
18
[test]
19
color 0.25 0.75 0.5 0.25
20
draw rect -1 -1 2 2
21
relative probe rgba (0.5, 0.5) (0.925, 0.925, 0.6999, 0.575)