mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 04:58:05 +02:00
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> (cherry picked from commit223aedfa5d)
This commit is contained in:
parent
431c00e39d
commit
15e6d8b8d2
2 changed files with 2 additions and 2 deletions
|
|
@ -3634,7 +3634,7 @@
|
|||
"description": "egl/dri2: don't bind dri2 for zink",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "12a47b84b7386e1aac6c4b0d36ad198705432378",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -1046,7 +1046,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…
Add table
Reference in a new issue