mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
kopper: add win32 loader interface
Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16068>
This commit is contained in:
parent
92a7caaf03
commit
9b6b5e74fa
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue