a/vk: Track VK_EXT_metal_surface

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2674>
This commit is contained in:
Jakob Bornecrantz committed 2025-12-10 02:36:22 +00:00
1 parent fdda5fd7bd
commit 30cc0769f3
3 files changed
+12

No files matched your search

+2
View File
@@ -278,6 +278,8 @@ def get_instance_cmds():
None,
Cmd("vkCreateWin32SurfaceKHR", requires=("VK_USE_PLATFORM_WIN32_KHR",)),
None,
Cmd("vkCreateMetalSurfaceEXT", requires=("VK_USE_PLATFORM_METAL_EXT",)),
None,
Cmd("vkGetPhysicalDeviceSurfaceCapabilities2EXT", requires=("VK_EXT_display_surface_counter",)),
None,
Cmd("vkCreateDebugUtilsMessengerEXT", requires=("VK_EXT_debug_utils",)),
@@ -132,6 +132,11 @@ vk_get_instance_functions(struct vk_bundle *vk)
#endif // defined(VK_USE_PLATFORM_WIN32_KHR)
#if defined(VK_USE_PLATFORM_METAL_EXT)
vk->vkCreateMetalSurfaceEXT = GET_INS_PROC(vk, vkCreateMetalSurfaceEXT);
#endif // defined(VK_USE_PLATFORM_METAL_EXT)
#if defined(VK_EXT_display_surface_counter)
vk->vkGetPhysicalDeviceSurfaceCapabilities2EXT = GET_INS_PROC(vk, vkGetPhysicalDeviceSurfaceCapabilities2EXT);
+5
View File
@@ -323,6 +323,11 @@ struct vk_bundle
#endif // defined(VK_USE_PLATFORM_WIN32_KHR)
#if defined(VK_USE_PLATFORM_METAL_EXT)
PFN_vkCreateMetalSurfaceEXT vkCreateMetalSurfaceEXT;
#endif // defined(VK_USE_PLATFORM_METAL_EXT)
#if defined(VK_EXT_display_surface_counter)
PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT vkGetPhysicalDeviceSurfaceCapabilities2EXT;