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
/
glsl-fs-ivec4-mat3.shader_test
blob
2f011f411f3b9a95154a066f2e8df8e63f5590e3
1
[require]
2
GLSL >= 1.10
3
4
[vertex shader]
5
void main()
6
{
7
gl_Position = gl_Vertex;
8
}
9
10
[fragment shader]
11
void main()
12
{
13
mat3 matrix3 = mat3(1, 2, 3, 4, 5, 6, 7, 8, 9);
14
15
gl_FragColor = vec4(ivec4(matrix3)) / 10.0;
16
}
17
18
[test]
19
draw rect -1 -1 2 2
20
probe all rgba 0.1 0.2 0.3 0.4