15 lines
186 B
GLSL
15 lines
186 B
GLSL
#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;
|
|
}
|