summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2019-05-23 21:27:25 -0400
committerMarek Olšák <marek.olsak@amd.com>2019-05-24 20:47:45 -0400
commite1bc6ea6904197b860cc5f811548675ca378b790 (patch)
tree9492927f4f4987b35b119a20f143994c8c952c04
parentc878a27d0032c6c97f13f84f2a223fafe41e1e63 (diff)
shader_runner: don't abort on atomic counter subtest failure
Reviewed-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--tests/shaders/shader_runner.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
index 9c7c4d233..44aa5da37 100644
--- a/tests/shaders/shader_runner.c
+++ b/tests/shaders/shader_runner.c
@@ -4020,13 +4020,13 @@ piglit_display(void)
"probe atomic counter buffer %u %u %s %u",
&ux, &uy, s, &uz) == 4) {
if (!probe_atomic_counter(ux, uy, s, uz, true)) {
- piglit_report_result(PIGLIT_FAIL);
+ result = PIGLIT_FAIL;
}
} else if (sscanf(line,
"probe atomic counter %u %s %u",
&ux, s, &uy) == 3) {
if (!probe_atomic_counter(0, ux, s, uy, false)) {
- piglit_report_result(PIGLIT_FAIL);
+ result = PIGLIT_FAIL;
}
} else if (sscanf(line, "probe ssbo uint %d %d %s 0x%x",
&x, &y, s, &z) == 4) {