[Piglit] [PATCH] egl_khr_fence_sync: don't require ES3 support
Stefan Schake
stschake at gmail.com
Sat Dec 2 01:06:47 UTC 2017
Bits in EGL_RENDERABLE_TYPE act as ANDs. Since we only create ES2 contexts,
we can drop the requirement for ES3 context support.
Signed-off-by: Stefan Schake <stschake at gmail.com>
---
tests/egl/spec/egl_khr_fence_sync/egl_khr_fence_sync.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
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 dcd56cf..6c6931e 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
@@ -130,7 +130,7 @@ init_context(EGLDisplay dpy, EGLContext *out_ctx)
EGLint num_configs = 0;
EGLContext ctx = 0;
- /* Create OpenGL ES 2.0 or backwards-compatible context. */
+ /* Create OpenGL ES 2.0 context. */
static const EGLint config_attribs[] = {
EGL_RED_SIZE, EGL_DONT_CARE,
EGL_GREEN_SIZE, EGL_DONT_CARE,
@@ -138,8 +138,7 @@ init_context(EGLDisplay dpy, EGLContext *out_ctx)
EGL_ALPHA_SIZE, EGL_DONT_CARE,
EGL_DEPTH_SIZE, EGL_DONT_CARE,
EGL_STENCIL_SIZE, EGL_DONT_CARE,
- EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT
- | EGL_OPENGL_ES3_BIT_KHR,
+ EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL_NONE,
};
--
1.9.1
More information about the Piglit
mailing list