diff options
author | Sidney Just <justsid@x-plane.com> | 2022-04-20 17:49:59 -0400 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-04-27 02:20:06 +0000 |
commit | 5a1b1a072936e30a11eb3dde6a229b2f6ab68574 (patch) | |
tree | 66151cfb09480f292ad43e44a962877504ba8a7f /include | |
parent | 88b07e972b2461eea0b0b25aa7655ec40880db51 (diff) |
kopper: add win32 loader interface
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16087>
Diffstat (limited to 'include')
-rw-r--r-- | include/kopper_interface.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/kopper_interface.h b/include/kopper_interface.h index 1590616f3f0..0f176485f33 100644 --- a/include/kopper_interface.h +++ b/include/kopper_interface.h @@ -43,6 +43,9 @@ #ifdef VK_USE_PLATFORM_WAYLAND_KHR #include <vulkan/vulkan_wayland.h> #endif +#ifdef VK_USE_PLATFORM_WIN32_KHR +#include <vulkan/vulkan_win32.h> +#endif typedef struct __DRIkopperExtensionRec __DRIkopperExtension; typedef struct __DRIkopperLoaderExtensionRec __DRIkopperLoaderExtension; @@ -85,6 +88,9 @@ struct kopper_loader_info { #ifdef VK_USE_PLATFORM_WAYLAND_KHR VkWaylandSurfaceCreateInfoKHR wl; #endif +#ifdef VK_USE_PLATFORM_WIN32_KHR + VkWin32SurfaceCreateInfoKHR win32; +#endif }; int has_alpha; }; |