summaryrefslogtreecommitdiff
path: root/tests/constructor-05.glsl
blob: 9c74f75a40438eaf7ac3c2cfbce5a4405380aa68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* FAIL - too few components supplied to constructor */

uniform vec2 a;
uniform float x;

void main()
{
  mat2 b;

  b = mat2(a, x);

  gl_Position = gl_Vertex;
}