These tests all require EGL_KHR_reusable_sync.

Signed-off-by: Daniel Kurtz <[email protected]>
---

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

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to