[Piglit] [PATCH] tests: add missing requirements to two arb_arrays_of_arrays tests

Dylan Baker baker.dylan.c at gmail.com
Thu Jul 30 09:25:33 PDT 2015


These two tests currently fail on i965 because they don't check for the
proper requirements. This patch adds them.

cc: Timothy Arceri <t_arceri at yahoo.com.au>
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 .../execution/sampler/fs-struct-non-const-index-const-index.shader_test | 2 ++
 .../fs-struct-non-const-index-sampler-non-const-index.shader_test       | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/tests/spec/arb_arrays_of_arrays/execution/sampler/fs-struct-non-const-index-const-index.shader_test b/tests/spec/arb_arrays_of_arrays/execution/sampler/fs-struct-non-const-index-const-index.shader_test
index 0eeb7ee..a877248 100644
--- a/tests/spec/arb_arrays_of_arrays/execution/sampler/fs-struct-non-const-index-const-index.shader_test
+++ b/tests/spec/arb_arrays_of_arrays/execution/sampler/fs-struct-non-const-index-const-index.shader_test
@@ -4,12 +4,14 @@
 [require]
 GLSL >= 1.50
 GL_ARB_gpu_shader5
+GL_ARB_arrays_of_arrays
 
 [vertex shader passthrough]
 
 [fragment shader]
 #version 150
 #extension GL_ARB_gpu_shader5: require
+#extension GL_ARB_arrays_of_arrays: require
 
 struct S {
    sampler2D tex[2];
diff --git a/tests/spec/arb_arrays_of_arrays/execution/sampler/fs-struct-non-const-index-sampler-non-const-index.shader_test b/tests/spec/arb_arrays_of_arrays/execution/sampler/fs-struct-non-const-index-sampler-non-const-index.shader_test
index d8edf65..248b812 100644
--- a/tests/spec/arb_arrays_of_arrays/execution/sampler/fs-struct-non-const-index-sampler-non-const-index.shader_test
+++ b/tests/spec/arb_arrays_of_arrays/execution/sampler/fs-struct-non-const-index-sampler-non-const-index.shader_test
@@ -4,12 +4,14 @@
 [require]
 GLSL >= 1.50
 GL_ARB_gpu_shader5
+GL_ARB_arrays_of_arrays
 
 [vertex shader passthrough]
 
 [fragment shader]
 #version 150
 #extension GL_ARB_gpu_shader5: require
+#extension GL_ARB_arrays_of_arrays: require
 
 struct S {
    sampler2D tex[2];
-- 
2.4.6



More information about the Piglit mailing list