summaryrefslogtreecommitdiffstats
path: root/src/glsl/tests/constructor-04.glsl
blob: 19d5e011dea18436dc7115974c1daa85e7fee2b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#version 120
/* FAIL - matrix must be only parameter to matrix constructor */

uniform mat2 a;
uniform float x;

void main()
{
  mat2 b;

  b = mat2(a, x);

  gl_Position = gl_Vertex;
}