[Piglit] [PATCH] arrays_of_arrays/atomic_counters: set requirements on atomic counter numbers.
Dave Airlie
airlied at gmail.com
Wed Oct 11 00:24:32 UTC 2017
From: Dave Airlie <airlied at redhat.com>
These both use 20 counters so check against the limits before running.
Signed-off-by: Dave Airlie <airlied at redhat.com>
---
.../execution/atomic_counters/fs-simple-inc-dec-read.shader_test | 1 +
.../execution/atomic_counters/vs-simple-inc-dec-read.shader_test | 1 +
2 files changed, 2 insertions(+)
diff --git a/tests/spec/arb_arrays_of_arrays/execution/atomic_counters/fs-simple-inc-dec-read.shader_test b/tests/spec/arb_arrays_of_arrays/execution/atomic_counters/fs-simple-inc-dec-read.shader_test
index 68ddc46..9949df8 100644
--- a/tests/spec/arb_arrays_of_arrays/execution/atomic_counters/fs-simple-inc-dec-read.shader_test
+++ b/tests/spec/arb_arrays_of_arrays/execution/atomic_counters/fs-simple-inc-dec-read.shader_test
@@ -5,6 +5,7 @@
GLSL >= 1.40
GL_ARB_shader_atomic_counters
GL_ARB_arrays_of_arrays
+INT GL_MAX_FRAGMENT_ATOMIC_COUNTERS >= 20
[vertex shader passthrough]
diff --git a/tests/spec/arb_arrays_of_arrays/execution/atomic_counters/vs-simple-inc-dec-read.shader_test b/tests/spec/arb_arrays_of_arrays/execution/atomic_counters/vs-simple-inc-dec-read.shader_test
index c0f319c..c5c3015 100644
--- a/tests/spec/arb_arrays_of_arrays/execution/atomic_counters/vs-simple-inc-dec-read.shader_test
+++ b/tests/spec/arb_arrays_of_arrays/execution/atomic_counters/vs-simple-inc-dec-read.shader_test
@@ -6,6 +6,7 @@ GLSL >= 1.40
GL_ARB_shader_atomic_counters
GL_ARB_arrays_of_arrays
INT GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS >= 1
+INT GL_MAX_VERTEX_ATOMIC_COUNTERS >= 20
[vertex shader]
#version 140
--
2.9.5
More information about the Piglit
mailing list