[Piglit] [PATCH 8/9] arb_shader_atomic_counters: Ensure all return paths return value.
jfonseca at vmware.com
jfonseca at vmware.com
Tue Apr 29 10:57:53 PDT 2014
From: José Fonseca <jfonseca at vmware.com>
MSVC does not consider `assert(TRUE)` as never returning.
---
tests/spec/arb_shader_atomic_counters/common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/spec/arb_shader_atomic_counters/common.c b/tests/spec/arb_shader_atomic_counters/common.c
index ac7627f..4590b27 100644
--- a/tests/spec/arb_shader_atomic_counters/common.c
+++ b/tests/spec/arb_shader_atomic_counters/common.c
@@ -228,6 +228,7 @@ atomic_counters_supported(GLenum shader_stage)
default:
assert(!"Unreachable");
+ abort();
}
}
--
1.9.1
More information about the Piglit
mailing list