diff options
author | J.D. Rouan <[email protected]> | 2020-11-16 15:14:17 -0800 |
---|---|---|
committer | Lenny Komow <[email protected]> | 2020-11-17 15:02:16 -0700 |
commit | 30e70cbd9850560cb55bffadb8017e90c04c42f5 (patch) | |
tree | 98df0471f53394affa78b31bc26597ffc019d38e | |
parent | 11c6670b4a4f766ed4f1e777d1b3c3dc082dfa5f (diff) | |
download | Vulkan-Headers-30e70cbd9850560cb55bffadb8017e90c04c42f5.tar.gz Vulkan-Headers-30e70cbd9850560cb55bffadb8017e90c04c42f5.zip |
Add GGP (Stadia) WSI platform support to vk_icd.h
Defines type "VkIcdSurfaceGgp" and adds "VK_ICD_WSI_PLATFORM_GGP" to
VkIcdWsiPlatform enum.
GGP is Google Games Platform, the platform for Stadia.
-rw-r--r-- | include/vulkan/vk_icd.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/vulkan/vk_icd.h b/include/vulkan/vk_icd.h index fde5bf6..8ad11d7 100644 --- a/include/vulkan/vk_icd.h +++ b/include/vulkan/vk_icd.h @@ -116,6 +116,7 @@ typedef enum { VK_ICD_WSI_PLATFORM_ANDROID, VK_ICD_WSI_PLATFORM_MACOS, VK_ICD_WSI_PLATFORM_IOS, + VK_ICD_WSI_PLATFORM_GGP, VK_ICD_WSI_PLATFORM_DISPLAY, VK_ICD_WSI_PLATFORM_HEADLESS, VK_ICD_WSI_PLATFORM_METAL, @@ -196,6 +197,13 @@ typedef struct { } VkIcdSurfaceIOS; #endif // VK_USE_PLATFORM_IOS_MVK +#ifdef VK_USE_PLATFORM_GGP +typedef struct { + VkIcdSurfaceBase base; + GgpStreamDescriptor streamDescriptor; +} VkIcdSurfaceGgp; +#endif // VK_USE_PLATFORM_GGP + typedef struct { VkIcdSurfaceBase base; VkDisplayModeKHR displayMode; |