mirror of
https://github.com/KhronosGroup/Vulkan-Headers.git
synced 2025-04-11 15:12:55 +00:00
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
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue