Mesa (main): kopper: add win32 loader interface
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Apr 22 01:56:37 UTC 2022
Module: Mesa
Branch: main
Commit: 9b6b5e74fa5eae49c407a6f68962d57e6945d7b1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9b6b5e74fa5eae49c407a6f68962d57e6945d7b1
Author: Sidney Just <justsid at x-plane.com>
Date: Wed Apr 20 17:49:59 2022 -0400
kopper: add win32 loader interface
Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16068>
---
include/kopper_interface.h | 6 ++++++
1 file changed, 6 insertions(+)
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;
@@ -84,6 +87,9 @@ struct kopper_loader_info {
#endif
#ifdef VK_USE_PLATFORM_WAYLAND_KHR
VkWaylandSurfaceCreateInfoKHR wl;
+#endif
+#ifdef VK_USE_PLATFORM_WIN32_KHR
+ VkWin32SurfaceCreateInfoKHR win32;
#endif
};
int has_alpha;
More information about the mesa-commit
mailing list