projects
/
platform
/
upstream
/
Vulkan-Headers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99638d8
)
Add VI WSI platform support to vk_icd.h
author
Michael Chock
<mchock@nvidia.com>
Tue, 11 Aug 2020 20:02:00 +0000
(13:02 -0700)
committer
Lenny Komow
<lenny@lunarg.com>
Mon, 17 Aug 2020 21:33:08 +0000
(15:33 -0600)
Add VI enum value to VkIcdWsiPlatform and define type VkIcdSurfaceVi.
include/vulkan/vk_icd.h
patch
|
blob
|
history
diff --git
a/include/vulkan/vk_icd.h
b/include/vulkan/vk_icd.h
index
0f992c0
..
fde5bf6
100644
(file)
--- a/
include/vulkan/vk_icd.h
+++ b/
include/vulkan/vk_icd.h
@@
-120,6
+120,7
@@
typedef enum {
VK_ICD_WSI_PLATFORM_HEADLESS,
VK_ICD_WSI_PLATFORM_METAL,
VK_ICD_WSI_PLATFORM_DIRECTFB,
+ VK_ICD_WSI_PLATFORM_VI,
} VkIcdWsiPlatform;
typedef struct {
@@
-217,4
+218,11
@@
typedef struct {
} VkIcdSurfaceMetal;
#endif // VK_USE_PLATFORM_METAL_EXT
+#ifdef VK_USE_PLATFORM_VI_NN
+typedef struct {
+ VkIcdSurfaceBase base;
+ void *window;
+} VkIcdSurfaceVi;
+#endif // VK_USE_PLATFORM_VI_NN
+
#endif // VKICD_H