mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
aux/vk: Add vkGetPhysicalDeviceSurfaceCapabilities2EXT function
This commit is contained in:
parent
693aceb755
commit
3eecb0f991
|
@ -220,6 +220,8 @@ def get_instance_cmds():
|
||||||
Cmd("vkCreateAndroidSurfaceKHR", requires=("VK_USE_PLATFORM_ANDROID_KHR",)),
|
Cmd("vkCreateAndroidSurfaceKHR", requires=("VK_USE_PLATFORM_ANDROID_KHR",)),
|
||||||
None,
|
None,
|
||||||
Cmd("vkCreateWin32SurfaceKHR", requires=("VK_USE_PLATFORM_WIN32_KHR",)),
|
Cmd("vkCreateWin32SurfaceKHR", requires=("VK_USE_PLATFORM_WIN32_KHR",)),
|
||||||
|
None,
|
||||||
|
Cmd("vkGetPhysicalDeviceSurfaceCapabilities2EXT", requires=("VK_EXT_display_surface_counter",))
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -891,8 +891,13 @@ vk_get_instance_functions(struct vk_bundle *vk)
|
||||||
|
|
||||||
#if defined(VK_USE_PLATFORM_WIN32_KHR)
|
#if defined(VK_USE_PLATFORM_WIN32_KHR)
|
||||||
vk->vkCreateWin32SurfaceKHR = GET_INS_PROC(vk, vkCreateWin32SurfaceKHR);
|
vk->vkCreateWin32SurfaceKHR = GET_INS_PROC(vk, vkCreateWin32SurfaceKHR);
|
||||||
|
|
||||||
#endif // defined(VK_USE_PLATFORM_WIN32_KHR)
|
#endif // defined(VK_USE_PLATFORM_WIN32_KHR)
|
||||||
|
|
||||||
|
#if defined(VK_EXT_display_surface_counter)
|
||||||
|
vk->vkGetPhysicalDeviceSurfaceCapabilities2EXT = GET_INS_PROC(vk, vkGetPhysicalDeviceSurfaceCapabilities2EXT);
|
||||||
|
#endif // defined(VK_EXT_display_surface_counter)
|
||||||
|
|
||||||
// end of GENERATED instance loader code - do not modify - used by scripts
|
// end of GENERATED instance loader code - do not modify - used by scripts
|
||||||
|
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
|
@ -149,8 +149,13 @@ struct vk_bundle
|
||||||
|
|
||||||
#if defined(VK_USE_PLATFORM_WIN32_KHR)
|
#if defined(VK_USE_PLATFORM_WIN32_KHR)
|
||||||
PFN_vkCreateWin32SurfaceKHR vkCreateWin32SurfaceKHR;
|
PFN_vkCreateWin32SurfaceKHR vkCreateWin32SurfaceKHR;
|
||||||
|
|
||||||
#endif // defined(VK_USE_PLATFORM_WIN32_KHR)
|
#endif // defined(VK_USE_PLATFORM_WIN32_KHR)
|
||||||
|
|
||||||
|
#if defined(VK_EXT_display_surface_counter)
|
||||||
|
PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT vkGetPhysicalDeviceSurfaceCapabilities2EXT;
|
||||||
|
#endif // defined(VK_EXT_display_surface_counter)
|
||||||
|
|
||||||
// end of GENERATED instance loader code - do not modify - used by scripts
|
// end of GENERATED instance loader code - do not modify - used by scripts
|
||||||
|
|
||||||
// beginning of GENERATED device loader code - do not modify - used by scripts
|
// beginning of GENERATED device loader code - do not modify - used by scripts
|
||||||
|
|
Loading…
Reference in a new issue