summaryrefslogtreecommitdiff
path: root/tests/constructor-03.glsl
blob: 07ec225633a854c5034c917eefe6d6791a23dec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* FAIL - cannot construct a matrix from a matrix in GLSL 1.10 */

uniform mat2 a;

void main()
{
  mat2 b;

  b = mat2(a);

  gl_Position = gl_Vertex;
}