diff options
author | Michael Chock <[email protected]> | 2020-08-11 13:02:00 -0700 |
---|---|---|
committer | Lenny Komow <[email protected]> | 2020-08-17 15:33:08 -0600 |
commit | 834673eaa34a04669eedea764e88d881338243a2 (patch) | |
tree | e74b2d7d204283ec835a44a3058fc2c9a81409bb /include/vulkan/vk_icd.h | |
parent | 99638d8d7fc64ae9c3fc6a396ec034abd40e675d (diff) | |
download | Vulkan-Headers-834673eaa34a04669eedea764e88d881338243a2.tar.gz Vulkan-Headers-834673eaa34a04669eedea764e88d881338243a2.zip |
Add VI WSI platform support to vk_icd.h
Add VI enum value to VkIcdWsiPlatform and define type VkIcdSurfaceVi.
Diffstat (limited to 'include/vulkan/vk_icd.h')
-rw-r--r-- | include/vulkan/vk_icd.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |