summaryrefslogtreecommitdiff
path: root/tests/glslparsertest/glsl2
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2011-03-09 14:47:20 -0800
committerIan Romanick <ian.d.romanick@intel.com>2011-03-15 12:35:29 -0700
commita570527b3cf43d35ba445e4fbca134dd596fe328 (patch)
treead2605b0d201fbbba594091904ff5c954536b996 /tests/glslparsertest/glsl2
parent67c8f93e56766a8c6a4442be2c471eb8680fdd2b (diff)
Remove incorrect unsized-array-non-const-index-2.vert
This test is incorrect. The value of int(n) is a constant expression because n is declared as 'const float'. This test generates the expected failure result because in GLSL 1.10 'float x = 1;' is invalid (cannot assign int to float).
Diffstat (limited to 'tests/glslparsertest/glsl2')
-rw-r--r--tests/glslparsertest/glsl2/unsized-array-non-const-index-2.vert16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/glslparsertest/glsl2/unsized-array-non-const-index-2.vert b/tests/glslparsertest/glsl2/unsized-array-non-const-index-2.vert
deleted file mode 100644
index bc65bdcb9..000000000
--- a/tests/glslparsertest/glsl2/unsized-array-non-const-index-2.vert
+++ /dev/null
@@ -1,16 +0,0 @@
-// [config]
-// expect_result: fail
-// glsl_version: 1.10
-//
-// # NOTE: Config section was auto-generated from file
-// # NOTE: 'glslparser.tests' at git revision
-// # NOTE: 6cc17ae70b70d150aa1751f8e28db7b2a9bd50f0
-// [end config]
-
-const float n = 1;
-void main()
-{
- int a[];
-
- a[int(n)] = n;
-}