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