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