ir_to_mesa: Support texture rectangle targets
[mesa/nouveau-pmpeg.git] / src / glsl / tests / matrix-08.glsl
blob38138d22de488eef752cc914ec24a3c35e2b33ec
1 #version 120
2 /* PASS */
4 uniform mat2x3 a;
5 uniform mat3x2 b;
6 uniform mat3x3 c;
7 uniform mat3x3 d;
9 void main()
11     mat3x3 x;
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;
18     gl_Position = gl_Vertex;