summaryrefslogtreecommitdiff
path: root/tests/array-09.glsl
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-03-31 16:16:54 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-03-31 16:16:54 -0700
commit615adcda8a27783bac52f25fac9850a75d792c84 (patch)
treea88f84c18f8e07f6af0e0b706acf329311c40bb9 /tests/array-09.glsl
parent299ed08a68d4f603bb72b7635bfa5c6f95776b22 (diff)
More array declaration tests
Diffstat (limited to 'tests/array-09.glsl')
-rw-r--r--tests/array-09.glsl9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/array-09.glsl b/tests/array-09.glsl
new file mode 100644
index 0000000000..cad6d0e54e
--- /dev/null
+++ b/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;
+}