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
/
uniform-matrix.shader_test
blob
c1ee91f6bf8f1583fce7971bc1685d46cbe13533
1
[require]
2
GLSL >= 1.10
3
4
[fragment shader]
5
uniform mat4 uniformMat4;
6
void main()
7
{
8
gl_FragColor = uniformMat4[3];
9
}
10
11
12
[test]
13
uniform mat4 uniformMat4 1.0 0.1 0.2 0.3 0.0 1.0 0.0 0.4 0.0 1.0 1.0 0.5 0.6 0.7 0.8 1.0
14
draw rect -1 -1 2 2
15
relative probe rgba (0.5, 0.5) (0.6, 0.7, 0.8, 1.0)