diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-10-07 08:19:20 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-10-07 09:12:12 -0700 |
commit | 3f304617cb39066b30594f7e0f6e991707c3930a (patch) | |
tree | 49ce471eb053d92bde35edbfd198d20ea173c73a /include/vulkan/vk_icd.h | |
parent | bd46dfa889d40fc3ce26d4848493953438b62cee (diff) |
vulkan: Update the XML and headers to 1.1.124
Acked-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'include/vulkan/vk_icd.h')
-rw-r--r-- | include/vulkan/vk_icd.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/vulkan/vk_icd.h b/include/vulkan/vk_icd.h index a2d960a6324..5dff59a16ee 100644 --- a/include/vulkan/vk_icd.h +++ b/include/vulkan/vk_icd.h @@ -89,7 +89,8 @@ typedef enum { VK_ICD_WSI_PLATFORM_MACOS, VK_ICD_WSI_PLATFORM_IOS, VK_ICD_WSI_PLATFORM_DISPLAY, - VK_ICD_WSI_PLATFORM_HEADLESS + VK_ICD_WSI_PLATFORM_HEADLESS, + VK_ICD_WSI_PLATFORM_METAL, } VkIcdWsiPlatform; typedef struct { @@ -172,4 +173,11 @@ typedef struct { VkIcdSurfaceBase base; } VkIcdSurfaceHeadless; +#ifdef VK_USE_PLATFORM_METAL_EXT +typedef struct { + VkIcdSurfaceBase base; + const CAMetalLayer *pLayer; +} VkIcdSurfaceMetal; +#endif // VK_USE_PLATFORM_METAL_EXT + #endif // VKICD_H |