vulkan: Add headless surface support to ICD header
Added the new enum value to `VkIcdWsiPlatform` and defined `VkIcdSurfaceHeadless`
This commit is contained in:
parent
e0e015e709
commit
5f1ceaad4c
@ -88,7 +88,8 @@ typedef enum {
|
|||||||
VK_ICD_WSI_PLATFORM_ANDROID,
|
VK_ICD_WSI_PLATFORM_ANDROID,
|
||||||
VK_ICD_WSI_PLATFORM_MACOS,
|
VK_ICD_WSI_PLATFORM_MACOS,
|
||||||
VK_ICD_WSI_PLATFORM_IOS,
|
VK_ICD_WSI_PLATFORM_IOS,
|
||||||
VK_ICD_WSI_PLATFORM_DISPLAY
|
VK_ICD_WSI_PLATFORM_DISPLAY,
|
||||||
|
VK_ICD_WSI_PLATFORM_HEADLESS
|
||||||
} VkIcdWsiPlatform;
|
} VkIcdWsiPlatform;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
@ -167,4 +168,8 @@ typedef struct {
|
|||||||
VkExtent2D imageExtent;
|
VkExtent2D imageExtent;
|
||||||
} VkIcdSurfaceDisplay;
|
} VkIcdSurfaceDisplay;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
VkIcdSurfaceBase base;
|
||||||
|
} VkIcdSurfaceHeadless;
|
||||||
|
|
||||||
#endif // VKICD_H
|
#endif // VKICD_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user