summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorShannon McPherson <[email protected]>2019-04-23 10:58:19 -0600
committerLenny Komow <[email protected]>2019-04-26 15:18:18 -0600
commit5f1ceaad4c22d08f4fcac9db3046afbd64358249 (patch)
tree1b41d5110a98f05b7233b2e7220d783a4e8dcaeb
parente0e015e709a98d6502058b0564147f72d32032f2 (diff)
downloadVulkan-Headers-5f1ceaad4c22d08f4fcac9db3046afbd64358249.tar.gz
Vulkan-Headers-5f1ceaad4c22d08f4fcac9db3046afbd64358249.zip
vulkan: Add headless surface support to ICD headerv1.1.107
Added the new enum value to `VkIcdWsiPlatform` and defined `VkIcdSurfaceHeadless`
-rw-r--r--include/vulkan/vk_icd.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/vulkan/vk_icd.h b/include/vulkan/vk_icd.h
index b935fa1..a2d960a 100644
--- a/include/vulkan/vk_icd.h
+++ b/include/vulkan/vk_icd.h
@@ -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