repo.or.cz
/
mesa
/
nouveau-pmpeg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ir_to_mesa: Support texture rectangle targets
[mesa/nouveau-pmpeg.git]
/
src
/
glsl
/
tests
/
matrix-08.glsl
blob
38138d22de488eef752cc914ec24a3c35e2b33ec
1
#version 120
2
/* PASS */
3
4
uniform mat2x3 a;
5
uniform mat3x2 b;
6
uniform mat3x3 c;
7
uniform mat3x3 d;
8
9
void main()
10
{
11
mat3x3 x;
12
13
/* Multiplying a 2 column, 3 row matrix with a 3 column, 2 row matrix
14
* results in a 3 column, 3 row matrix.
15
*/
16
x = (a * b) + c / d;
17
18
gl_Position = gl_Vertex;
19
}