diff options
author | Dave Airlie <airlied@redhat.com> | 2024-04-12 13:38:02 +1000 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-04-12 17:48:51 +0000 |
commit | 223aedfa5dba263101a91314186be80861dbd3cf (patch) | |
tree | 20c7d90e727c25b9ce6de30a4f8dc4714502905a /src/egl | |
parent | 26836438cb11bcfbd09b6ff8eacfee2238821bef (diff) |
egl/dri2: don't bind dri2 for zink
I'm not sure why zink would want dri2 here instead of kopper,
I'm sure it's some side effect of something else, let zink
use the kopper paths.
This fixes:
dEQP-GL45-ES3.info.vendor
on zink on nvk with GL cts using EGL.
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Fixes: 12a47b84b738 ("egl/dri2: trigger drawable invalidation from surface queries for zink")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28707>
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 1533c4939d9..be1a9527381 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -948,7 +948,7 @@ dri2_setup_extensions(_EGLDisplay *disp) extensions = dri2_dpy->core->getExtensions(dri2_dpy->dri_screen_render_gpu); - if (dri2_dpy->image_driver || dri2_dpy->dri2 || disp->Options.Zink) { + if (dri2_dpy->image_driver || dri2_dpy->dri2) { if (!loader_bind_extensions(dri2_dpy, dri2_core_extensions, ARRAY_SIZE(dri2_core_extensions), extensions)) return EGL_FALSE; |