Mesa (staging/22.1): wgl: don't auto-load zink before software drivers

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed May 4 12:38:04 UTC 2022


Module: Mesa
Branch: staging/22.1
Commit: 9c0b0093359ed5e6b3cf4153601da17d501e22f5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9c0b0093359ed5e6b3cf4153601da17d501e22f5

Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date:   Tue May  3 15:12:45 2022 -0400

wgl: don't auto-load zink before software drivers

as in glx/egl, zink+lavapipe should only load if explicitly selected

Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16311>

---

 src/gallium/targets/wgl/wgl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/targets/wgl/wgl.c b/src/gallium/targets/wgl/wgl.c
index 18423e9f428..baa6f28514c 100644
--- a/src/gallium/targets/wgl/wgl.c
+++ b/src/gallium/targets/wgl/wgl.c
@@ -127,7 +127,7 @@ wgl_screen_create(HDC hDC)
       sw_only ? "" : "d3d12",
 #endif
 #ifdef GALLIUM_ZINK
-      "zink",
+      sw_only ? "" : "zink",
 #endif
 #if defined(GALLIUM_LLVMPIPE)
       "llvmpipe",



More information about the mesa-commit mailing list