summaryrefslogtreecommitdiffstats
path: root/tests/constructor-06.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/constructor-06.glsl')
-rw-r--r--tests/constructor-06.glsl13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/constructor-06.glsl b/tests/constructor-06.glsl
new file mode 100644
index 00000000000..d77a5f9e892
--- /dev/null
+++ b/tests/constructor-06.glsl
@@ -0,0 +1,13 @@
+#version 120
+/* PASS */
+
+uniform mat2 a;
+
+void main()
+{
+ mat2 b;
+
+ b = mat2(a);
+
+ gl_Position = gl_Vertex;
+}