Add VI WSI platform support to vk_icd.h

Add VI enum value to VkIcdWsiPlatform and define type VkIcdSurfaceVi.
This commit is contained in:
Michael Chock 2020-08-11 13:02:00 -07:00 committed by Lenny Komow
parent 99638d8d7f
commit 834673eaa3

View file

@ -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