summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Faye-Lund <erik.faye-lund@collabora.com>2021-06-23 09:04:31 +0200
committerErik Faye-Lund <erik.faye-lund@collabora.com>2021-06-24 10:45:18 +0200
commitefa863990a264cbafeadbe04f7f486da000c7983 (patch)
tree0c4f97c9dc5ef88df31d8d0ed687ec7c4b0a3611
parentd2114bf413a75fc40159cb037c0a773517f93c8c (diff)
zink: drop unused macros
We stopped using these without removing them, let's tidy that bit up. Fixes: 55748681032 ("zink: use the dispatch tables") Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11554>
-rw-r--r--src/gallium/drivers/zink/zink_screen.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/gallium/drivers/zink/zink_screen.h b/src/gallium/drivers/zink/zink_screen.h
index 0d861d5122c..1b09ed7a536 100644
--- a/src/gallium/drivers/zink/zink_screen.h
+++ b/src/gallium/drivers/zink/zink_screen.h
@@ -247,22 +247,6 @@ zink_screen_timeline_wait(struct zink_screen *screen, uint32_t batch_id, uint64_
bool
zink_is_depth_format_supported(struct zink_screen *screen, VkFormat format);
-#define GET_PROC_ADDR(x) do { \
- screen->vk_##x = (PFN_vk##x)vkGetDeviceProcAddr(screen->dev, "vk"#x); \
- if (!screen->vk_##x) { \
- mesa_loge("ZINK: vkGetDeviceProcAddr failed: vk"#x"\n"); \
- return false; \
- } \
- } while (0)
-
-#define GET_PROC_ADDR_KHR(x) do { \
- screen->vk_##x = (PFN_vk##x)vkGetDeviceProcAddr(screen->dev, "vk"#x"KHR"); \
- if (!screen->vk_##x) { \
- mesa_loge("ZINK: vkGetDeviceProcAddr failed: vk"#x"KHR\n"); \
- return false; \
- } \
- } while (0)
-
#define GET_PROC_ADDR_INSTANCE(x) do { \
screen->vk_##x = (PFN_vk##x)vkGetInstanceProcAddr(screen->instance, "vk"#x); \
if (!screen->vk_##x) { \