summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluc <814640709@qq.com>2020-02-15 12:55:16 +0800
committerDylan Baker <dylan@pnwbakers.com>2020-02-18 08:52:36 -0800
commitae3d046039dc2156a18b39923ada8db857784d94 (patch)
tree77761f16ef8147a28fcf9306a2dad6756d4c7922
parenta0e6341fe4417e41cda0b19e4fa7f8bbe4e1dba1 (diff)
downloadmesa-ae3d046039dc2156a18b39923ada8db857784d94.tar.gz
zink: confused compilation macro usage for zink in target helpers.
Fixes: 8d46e35d16e ("zink: introduce opengl over vulkan") Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3831> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3831> (cherry picked from commit 692093fbdc93343dbe500128fdd23167d73036d9)
-rw-r--r--.pick_status.json2
-rw-r--r--src/gallium/auxiliary/target-helpers/sw_helper.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/.pick_status.json b/.pick_status.json
index 2b9063a6fad..a977a7cc3a3 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -184,7 +184,7 @@
"description": "zink: confused compilation macro usage for zink in target helpers.",
"nominated": true,
"nomination_type": 1,
- "resolution": 0,
+ "resolution": 1,
"master_sha": null,
"because_sha": "8d46e35d16e3936968958bcab86d61967a673305"
},
diff --git a/src/gallium/auxiliary/target-helpers/sw_helper.h b/src/gallium/auxiliary/target-helpers/sw_helper.h
index 2fb1da527cc..e129819477d 100644
--- a/src/gallium/auxiliary/target-helpers/sw_helper.h
+++ b/src/gallium/auxiliary/target-helpers/sw_helper.h
@@ -82,7 +82,7 @@ sw_screen_create(struct sw_winsys *winsys)
default_driver = "softpipe";
#elif defined(GALLIUM_SWR)
default_driver = "swr";
-#elif defined(GALLIUM_SWR)
+#elif defined(GALLIUM_ZINK)
default_driver = "zink";
#else
default_driver = "";