mirror of https://gitlab.freedesktop.org/mesa/mesa
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: 12a47b84b7
("egl/dri2: trigger drawable invalidation from surface queries for zink")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28707>
This commit is contained in:
parent
26836438cb
commit
223aedfa5d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue