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.
This commit is contained in:
parent
11c6670b4a
commit
30e70cbd98
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user