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