summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_device.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-09-01 18:59:06 -0700
committerJason Ekstrand <[email protected]>2015-09-04 17:55:42 -0700
commitca3cfbf6f1e009c0208ffaa483c8a7e80394639d (patch)
tree16e4f40d8e2a879eaff8e3a23aa54626de1c716b /src/vulkan/anv_device.c
parent3d9fbb6575697744642c28464fb098552576ac97 (diff)
vk: Add an initial implementation of the actual Khronos WSI extension
Unfortunately, this is a very large commit and removes the old LunarG WSI extension. This is because there are a couple of entrypoints that have the same name between the two extensions so implementing them both is impractiacl. Support is still incomplete, but this is enough to get vkcube up and going again.
Diffstat (limited to 'src/vulkan/anv_device.c')
-rw-r--r--src/vulkan/anv_device.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c
index e83bd4bf272..7ae11d6560b 100644
--- a/src/vulkan/anv_device.c
+++ b/src/vulkan/anv_device.c
@@ -637,10 +637,6 @@ static const VkExtensionProperties global_extensions[] = {
.extName = "VK_WSI_swapchain",
.specVersion = 12
},
- {
- .extName = "VK_WSI_LunarG",
- .specVersion = 3
- }
};
VkResult anv_GetGlobalExtensionProperties(
@@ -662,6 +658,10 @@ VkResult anv_GetGlobalExtensionProperties(
}
static const VkExtensionProperties device_extensions[] = {
+ {
+ .extName = "VK_WSI_device_swapchain",
+ .specVersion = 12
+ },
};
VkResult anv_GetPhysicalDeviceExtensionProperties(