Mesa (main): zink: remove some needless moltenvk details

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 24 09:29:23 UTC 2021


Module: Mesa
Branch: main
Commit: fa784acbdfed22be75e4184cd3599a98a4e76de4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa784acbdfed22be75e4184cd3599a98a4e76de4

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Wed Jun 23 09:51:28 2021 +0200

zink: remove some needless moltenvk details

This removes a macro that we don't need, and removes a comment about a
detail that we don't care about in that location.

Acked-By: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Acked-by: Hoe Hao Cheng <haochengho12907 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11554>

---

 src/gallium/drivers/zink/zink_device_info.py | 6 ------
 src/gallium/drivers/zink/zink_instance.py    | 1 -
 2 files changed, 7 deletions(-)

diff --git a/src/gallium/drivers/zink/zink_device_info.py b/src/gallium/drivers/zink/zink_device_info.py
index dc0a62a3ee1..556b7a3310a 100644
--- a/src/gallium/drivers/zink/zink_device_info.py
+++ b/src/gallium/drivers/zink/zink_device_info.py
@@ -223,12 +223,6 @@ header_code = """
 
 #include <vulkan/vulkan.h>
 
-#if defined(__APPLE__)
-// Source of MVK_VERSION
-// Source of VK_EXTX_PORTABILITY_SUBSET_EXTENSION_NAME
-#include "MoltenVK/vk_mvk_moltenvk.h"
-#endif
-
 struct zink_screen;
 
 struct zink_device_info {
diff --git a/src/gallium/drivers/zink/zink_instance.py b/src/gallium/drivers/zink/zink_instance.py
index b27d6e41994..831be322d7b 100644
--- a/src/gallium/drivers/zink/zink_instance.py
+++ b/src/gallium/drivers/zink/zink_instance.py
@@ -66,7 +66,6 @@ header_code = """
 
 #if defined(__APPLE__)
 // Source of MVK_VERSION
-// Source of VK_EXTX_PORTABILITY_SUBSET_EXTENSION_NAME
 #include "MoltenVK/vk_mvk_moltenvk.h"
 #endif
 



More information about the mesa-commit mailing list