• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 120
2/* PASS */
3
4uniform mat2x3 a;
5uniform mat3x2 b;
6uniform mat3x3 c;
7uniform mat3x3 d;
8
9void 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}
20