From 974db1cedec26504fd07abd5220d846bde13ffbd Mon Sep 17 00:00:00 2001 From: John Bauman Date: Thu, 17 Nov 2022 19:59:26 +0000 Subject: [PATCH] Add VkIcdSurfaceImagePipe and VK_ICD_WSI_PLATFORM_FUCHSIA This allows the loader to implement its part of the VK_FUCHSIA_image_pipe extension. --- include/vulkan/vk_icd.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/vulkan/vk_icd.h b/include/vulkan/vk_icd.h index 41989ee..44b1527 100644 --- a/include/vulkan/vk_icd.h +++ b/include/vulkan/vk_icd.h @@ -123,6 +123,7 @@ typedef enum { VK_ICD_WSI_PLATFORM_VI, VK_ICD_WSI_PLATFORM_GGP, VK_ICD_WSI_PLATFORM_SCREEN, + VK_ICD_WSI_PLATFORM_FUCHSIA, } VkIcdWsiPlatform; typedef struct { @@ -242,4 +243,10 @@ typedef struct { } VkIcdSurfaceScreen; #endif // VK_USE_PLATFORM_SCREEN_QNX +#ifdef VK_USE_PLATFORM_FUCHSIA +typedef struct { + VkIcdSurfaceBase base; +} VkIcdSurfaceImagePipe; +#endif // VK_USE_PLATFORM_FUCHSIA + #endif // VKICD_H