From 494b6e029f2cc24421b3be79f9be6a8a9470b3aa Mon Sep 17 00:00:00 2001 From: Wunkolo Date: Mon, 19 Jul 2021 11:50:40 -0700 Subject: [PATCH] GPU/Vulkan: Add complete VK_EXT_debug_utils API entry points --- dep/vulkan-loader/include/vulkan_entry_points.h | 11 +++++++++++ dep/vulkan-loader/include/vulkan_entry_points.inl | 9 +++++++++ 2 files changed, 20 insertions(+) diff --git a/dep/vulkan-loader/include/vulkan_entry_points.h b/dep/vulkan-loader/include/vulkan_entry_points.h index cd8171050..dbad499f1 100644 --- a/dep/vulkan-loader/include/vulkan_entry_points.h +++ b/dep/vulkan-loader/include/vulkan_entry_points.h @@ -44,9 +44,20 @@ #define vkCreateAndroidSurfaceKHR ds_vkCreateAndroidSurfaceKHR #define vkCreateMacOSSurfaceMVK ds_vkCreateMacOSSurfaceMVK #define vkCreateMetalSurfaceEXT ds_vkCreateMetalSurfaceEXT + +// VK_EXT_debug_utils +#define vkCmdBeginDebugUtilsLabelEXT ds_vkCmdBeginDebugUtilsLabelEXT +#define vkCmdEndDebugUtilsLabelEXT ds_vkCmdEndDebugUtilsLabelEXT +#define vkCmdInsertDebugUtilsLabelEXT ds_vkCmdInsertDebugUtilsLabelEXT #define vkCreateDebugUtilsMessengerEXT ds_vkCreateDebugUtilsMessengerEXT #define vkDestroyDebugUtilsMessengerEXT ds_vkDestroyDebugUtilsMessengerEXT +#define vkQueueBeginDebugUtilsLabelEXT ds_vkQueueBeginDebugUtilsLabelEXT +#define vkQueueEndDebugUtilsLabelEXT ds_vkQueueEndDebugUtilsLabelEXT +#define vkQueueInsertDebugUtilsLabelEXT ds_vkQueueInsertDebugUtilsLabelEXT +#define vkSetDebugUtilsObjectNameEXT ds_vkSetDebugUtilsObjectNameEXT +#define vkSetDebugUtilsObjectTagEXT ds_vkSetDebugUtilsObjectTagEXT #define vkSubmitDebugUtilsMessageEXT ds_vkSubmitDebugUtilsMessageEXT + #define vkGetPhysicalDeviceProperties2 ds_vkGetPhysicalDeviceProperties2 #define vkGetPhysicalDeviceSurfaceCapabilities2KHR ds_vkGetPhysicalDeviceSurfaceCapabilities2KHR #define vkGetPhysicalDeviceDisplayPropertiesKHR ds_vkGetPhysicalDeviceDisplayPropertiesKHR diff --git a/dep/vulkan-loader/include/vulkan_entry_points.inl b/dep/vulkan-loader/include/vulkan_entry_points.inl index c49187aa1..01a57a19b 100644 --- a/dep/vulkan-loader/include/vulkan_entry_points.inl +++ b/dep/vulkan-loader/include/vulkan_entry_points.inl @@ -66,8 +66,17 @@ VULKAN_INSTANCE_ENTRY_POINT(vkCreateMacOSSurfaceMVK, false) VULKAN_INSTANCE_ENTRY_POINT(vkCreateMetalSurfaceEXT, false) #endif +// VK_EXT_debug_utils +VULKAN_INSTANCE_ENTRY_POINT(vkCmdBeginDebugUtilsLabelEXT, false) +VULKAN_INSTANCE_ENTRY_POINT(vkCmdEndDebugUtilsLabelEXT, false) +VULKAN_INSTANCE_ENTRY_POINT(vkCmdInsertDebugUtilsLabelEXT, false) VULKAN_INSTANCE_ENTRY_POINT(vkCreateDebugUtilsMessengerEXT, false) VULKAN_INSTANCE_ENTRY_POINT(vkDestroyDebugUtilsMessengerEXT, false) +VULKAN_INSTANCE_ENTRY_POINT(vkQueueBeginDebugUtilsLabelEXT, false) +VULKAN_INSTANCE_ENTRY_POINT(vkQueueEndDebugUtilsLabelEXT, false) +VULKAN_INSTANCE_ENTRY_POINT(vkQueueInsertDebugUtilsLabelEXT, false) +VULKAN_INSTANCE_ENTRY_POINT(vkSetDebugUtilsObjectNameEXT, false) +VULKAN_INSTANCE_ENTRY_POINT(vkSetDebugUtilsObjectTagEXT, false) VULKAN_INSTANCE_ENTRY_POINT(vkSubmitDebugUtilsMessageEXT, false) VULKAN_INSTANCE_ENTRY_POINT(vkGetPhysicalDeviceProperties2, false)