Add VI WSI platform support to vk_icd.h
Add VI enum value to VkIcdWsiPlatform and define type VkIcdSurfaceVi.
This commit is contained in:
parent
99638d8d7f
commit
834673eaa3
@ -120,6 +120,7 @@ typedef enum {
|
|||||||
VK_ICD_WSI_PLATFORM_HEADLESS,
|
VK_ICD_WSI_PLATFORM_HEADLESS,
|
||||||
VK_ICD_WSI_PLATFORM_METAL,
|
VK_ICD_WSI_PLATFORM_METAL,
|
||||||
VK_ICD_WSI_PLATFORM_DIRECTFB,
|
VK_ICD_WSI_PLATFORM_DIRECTFB,
|
||||||
|
VK_ICD_WSI_PLATFORM_VI,
|
||||||
} VkIcdWsiPlatform;
|
} VkIcdWsiPlatform;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
@ -217,4 +218,11 @@ typedef struct {
|
|||||||
} VkIcdSurfaceMetal;
|
} VkIcdSurfaceMetal;
|
||||||
#endif // VK_USE_PLATFORM_METAL_EXT
|
#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
|
#endif // VKICD_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user