layers: Convert most of the layers to the new WSI.
diff --git a/vulkan.py b/vulkan.py
index d990774..4ac1d9a 100755
--- a/vulkan.py
+++ b/vulkan.py
@@ -1048,11 +1048,13 @@
Proto("VkResult", "CreateSwapchainKHR",
[Param("VkDevice", "device"),
Param("const VkSwapchainCreateInfoKHR*", "pCreateInfo"),
+ Param("const VkAllocationCallbacks*", "pAllocator"),
Param("VkSwapchainKHR*", "pSwapchain")]),
Proto("void", "DestroySwapchainKHR",
[Param("VkDevice", "device"),
- Param("VkSwapchainKHR", "swapchain")]),
+ Param("VkSwapchainKHR", "swapchain"),
+ Param("const VkAllocationCallbacks*", "pAllocator")]),
Proto("VkResult", "GetSwapchainImagesKHR",
[Param("VkDevice", "device"),
@@ -1065,11 +1067,12 @@
Param("VkSwapchainKHR", "swapchain"),
Param("uint64_t", "timeout"),
Param("VkSemaphore", "semaphore"),
+ Param("VkFence", "fence"),
Param("uint32_t*", "pImageIndex")]),
Proto("VkResult", "QueuePresentKHR",
[Param("VkQueue", "queue"),
- Param("VkPresentInfoKHR*", "pPresentInfo")]),
+ Param("const VkPresentInfoKHR*", "pPresentInfo")]),
],
)
lunarg_debug_report = Extension(