From 834673eaa34a04669eedea764e88d881338243a2 Mon Sep 17 00:00:00 2001 From: Michael Chock Date: Tue, 11 Aug 2020 13:02:00 -0700 Subject: Add VI WSI platform support to vk_icd.h Add VI enum value to VkIcdWsiPlatform and define type VkIcdSurfaceVi. --- include/vulkan/vk_icd.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/vulkan/vk_icd.h') diff --git a/include/vulkan/vk_icd.h b/include/vulkan/vk_icd.h index 0f992c0..fde5bf6 100644 --- a/include/vulkan/vk_icd.h +++ b/include/vulkan/vk_icd.h @@ -120,6 +120,7 @@ typedef enum { VK_ICD_WSI_PLATFORM_HEADLESS, VK_ICD_WSI_PLATFORM_METAL, VK_ICD_WSI_PLATFORM_DIRECTFB, + VK_ICD_WSI_PLATFORM_VI, } VkIcdWsiPlatform; typedef struct { @@ -217,4 +218,11 @@ typedef struct { } VkIcdSurfaceMetal; #endif // VK_USE_PLATFORM_METAL_EXT +#ifdef VK_USE_PLATFORM_VI_NN +typedef struct { + VkIcdSurfaceBase base; + void *window; +} VkIcdSurfaceVi; +#endif // VK_USE_PLATFORM_VI_NN + #endif // VKICD_H -- cgit v1.2.3