[Piglit] [PATCH 01/10] arb_shader_atomic_counters: fix KHR_no_error support for buffer binding test
Timothy Arceri
tarceri at itsqueeze.com
Wed Jul 5 05:23:35 UTC 2017
---
tests/spec/arb_shader_atomic_counters/buffer-binding.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/tests/spec/arb_shader_atomic_counters/buffer-binding.c b/tests/spec/arb_shader_atomic_counters/buffer-binding.c
index 7eeaae9..de4e9d1 100644
--- a/tests/spec/arb_shader_atomic_counters/buffer-binding.c
+++ b/tests/spec/arb_shader_atomic_counters/buffer-binding.c
@@ -141,10 +141,12 @@ piglit_init(int argc, char **argv)
"implementation limit",
run_test_bind_at, ls.bindings - 1);
- atomic_counters_subtest(&status, GL_NONE,
- "Atomic buffer binding above the "
- "implementation limit",
- !run_test_bind_at, ls.bindings);
+ if (!piglit_khr_no_error) {
+ atomic_counters_subtest(&status, GL_NONE,
+ "Atomic buffer binding above the "
+ "implementation limit",
+ !run_test_bind_at, ls.bindings);
+ }
atomic_counters_subtest(&status, GL_NONE,
"Atomic buffer range binding",
--
2.9.4
More information about the Piglit
mailing list