vulkan: Add headless surface support to ICD header

Added the new enum value to `VkIcdWsiPlatform` and defined
`VkIcdSurfaceHeadless`
This commit is contained in:
Shannon McPherson 2019-04-23 10:58:19 -06:00 committed by Lenny Komow
parent e0e015e709
commit 5f1ceaad4c

View file

@ -88,7 +88,8 @@ typedef enum {
VK_ICD_WSI_PLATFORM_ANDROID,
VK_ICD_WSI_PLATFORM_MACOS,
VK_ICD_WSI_PLATFORM_IOS,
VK_ICD_WSI_PLATFORM_DISPLAY
VK_ICD_WSI_PLATFORM_DISPLAY,
VK_ICD_WSI_PLATFORM_HEADLESS
} VkIcdWsiPlatform;
typedef struct {
@ -167,4 +168,8 @@ typedef struct {
VkExtent2D imageExtent;
} VkIcdSurfaceDisplay;
typedef struct {
VkIcdSurfaceBase base;
} VkIcdSurfaceHeadless;
#endif // VKICD_H