More matrix compilation tests
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
/* FAIL - matrix-to-matrix constructors are not available in GLSL 1.10 */
|
||||
|
||||
uniform mat3 a;
|
||||
|
||||
void main()
|
||||
{
|
||||
mat2 m;
|
||||
|
||||
m = mat2(a);
|
||||
gl_Position = gl_Vertex;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
#version 120
|
||||
/* PASS */
|
||||
|
||||
uniform mat3 a;
|
||||
|
||||
void main()
|
||||
{
|
||||
mat2 m;
|
||||
|
||||
m = mat2(a);
|
||||
gl_Position = gl_Vertex;
|
||||
}
|
||||
Reference in New Issue
Block a user