summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-03-05 23:20:44 -0800
committerKenneth Graunke <kenneth@whitecape.org>2015-03-08 20:00:25 -0700
commit7f1704aa49222c9f13d63e914a2b2284c1c3a5db (patch)
tree71d2861187c90067f3b23c5cfaf34f5dfd66916b
parentafa9c8b610b1c0ae3e292eb5b2f56695dd5d9357 (diff)
Delete redundant condition-07.vert test.
This test is redundant with: glsl-1.20/compiler/structure-and-array-operations/array-selection.vert Both contain the same shader code and the same spec citation - the only difference is variable names and the exact portion of the text quoted. The other one has a better name, so keep it and delete condition-07. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
-rw-r--r--tests/glslparsertest/glsl2/condition-07.vert26
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/glslparsertest/glsl2/condition-07.vert b/tests/glslparsertest/glsl2/condition-07.vert
deleted file mode 100644
index 189c493de..000000000
--- a/tests/glslparsertest/glsl2/condition-07.vert
+++ /dev/null
@@ -1,26 +0,0 @@
-// [config]
-// expect_result: pass
-// glsl_version: 1.20
-//
-// [end config]
-
-/* PASS
- *
- * From page 38 (page 44 of the PDF) of the GLSL 1.20 spec:
- *
- * "The second and third expressions can be any type, as long their types
- * match, or there is a conversion in Section 4.1.10 "Implicit Conversions"
- * that can be applied to one of the expressions to make their types
- * match."
- */
-#version 120
-
-uniform bool selector;
-uniform vec4 a[2];
-uniform vec4 b[2];
-uniform int idx;
-
-void main()
-{
- gl_Position = (selector ? a : b)[idx];
-}