[Piglit] [PATCH] Add missing extension check in arb_gpu_shader5/invocation-id.
Kenneth Graunke
kenneth at whitecape.org
Wed Jan 29 17:18:58 PST 2014
I was surprised to see this failing on my system. It shouldn't run.
---
tests/spec/arb_gpu_shader5/execution/invocation-id.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/spec/arb_gpu_shader5/execution/invocation-id.c b/tests/spec/arb_gpu_shader5/execution/invocation-id.c
index a78332e..b723516 100644
--- a/tests/spec/arb_gpu_shader5/execution/invocation-id.c
+++ b/tests/spec/arb_gpu_shader5/execution/invocation-id.c
@@ -104,6 +104,8 @@ piglit_init(int argc, char **argv)
{
bool pass = true;
+ piglit_require_extension("GL_ARB_gpu_shader5");
+
pass = test_gs_invocations(gs_source1, 1) && pass;
pass = test_gs_invocations(gs_source4, 4) && pass;
--
1.8.5.2
More information about the Piglit
mailing list