summaryrefslogtreecommitdiffstats
path: root/src/glsl/tests/array-09.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/tests/array-09.glsl')
-rw-r--r--src/glsl/tests/array-09.glsl9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/glsl/tests/array-09.glsl b/src/glsl/tests/array-09.glsl
new file mode 100644
index 00000000000..cad6d0e54ec
--- /dev/null
+++ b/src/glsl/tests/array-09.glsl
@@ -0,0 +1,9 @@
+#version 120
+/* PASS */
+
+void main()
+{
+ vec4 a[2] = vec4 [2] (vec4(1.0), vec4(2.0));
+
+ gl_Position = gl_Vertex;
+}