summaryrefslogtreecommitdiffstats
path: root/src/glsl/tests/matrix-09.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/tests/matrix-09.glsl')
-rw-r--r--src/glsl/tests/matrix-09.glsl11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/glsl/tests/matrix-09.glsl b/src/glsl/tests/matrix-09.glsl
new file mode 100644
index 00000000000..18afbcacea7
--- /dev/null
+++ b/src/glsl/tests/matrix-09.glsl
@@ -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;
+}