[Piglit] [PATCH] egl_khr_fence_sync: check for EGL_KHR_reusable_sync
Daniel Kurtz
djkurtz at chromium.org
Thu Aug 7 04:09:34 PDT 2014
These tests all require EGL_KHR_reusable_sync.
Signed-off-by: Daniel Kurtz <djkurtz at chromium.org>
---
I do not have commit access, so can someone please submit this for me if it
looks good?
Thanks
-djk
tests/egl/spec/egl_khr_fence_sync/egl_khr_fence_sync.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/tests/egl/spec/egl_khr_fence_sync/egl_khr_fence_sync.c b/tests/egl/spec/egl_khr_fence_sync/egl_khr_fence_sync.c
index 707083a..732eb74 100644
--- a/tests/egl/spec/egl_khr_fence_sync/egl_khr_fence_sync.c
+++ b/tests/egl/spec/egl_khr_fence_sync/egl_khr_fence_sync.c
@@ -128,6 +128,12 @@ init_display(EGLenum platform, EGLDisplay *out_dpy)
}
+ if (!piglit_is_egl_extension_supported(dpy, "EGL_KHR_reusable_sync")) {
+ piglit_loge("display does not support EGL_KHR_reusable_sync");
+ result = PIGLIT_SKIP;
+ goto error;
+ }
+
*out_dpy = dpy;
return result;
--
2.0.0.526.g5318336
More information about the Piglit
mailing list