debug_report: rename and update to use CreateInfo
diff --git a/vulkan.py b/vulkan.py
index 1e32b2d..897688f 100755
--- a/vulkan.py
+++ b/vulkan.py
@@ -192,7 +192,7 @@
# VK core API
core = Extension(
name="VK_CORE",
- headers=["vulkan/vulkan.h", "vk_lunarg_debug_report.h"],
+ headers=["vulkan/vulkan.h", "vulkan/vk_lunarg_debug_report.h"],
objects=[
"VkInstance",
"VkPhysicalDevice",
@@ -1124,16 +1124,16 @@
"VkDebugReportCallbackLUNARG",
],
protos=[
- Proto("VkResult", "DbgCreateMsgCallback",
+ Proto("VkResult", "CreateDebugReportCallbackLUNARG",
[Param("VkInstance", "instance"),
- Param("VkFlags", "msgFlags"),
- Param("const PFN_vkDbgMsgCallback", "pfnMsgCallback"),
- Param("void*", "pUserData"),
- Param("VkDebugReportCallbackLUNARG*", "pMsgCallback")]),
+ Param("VkDebugReportCallbackCreateInfoLUNARG*", "pCreateInfo"),
+ Param("const VkAllocationCallbacks*", "pAllocator"),
+ Param("VkDebugReportCallbackLUNARG*", "pCallback")]),
- Proto("VkResult", "DbgDestroyMsgCallback",
+ Proto("VkResult", "DestroyDebugReportCallbackLUNARG",
[Param("VkInstance", "instance"),
- Param("VkDebugReportCallbackLUNARG", "msgCallback")]),
+ Param("VkDebugReportCallbackLUNARG", "callback"),
+ Param("const VkAllocationCallbacks*", "pAllocator")]),
],
)
lunarg_debug_marker = Extension(
@@ -1269,7 +1269,7 @@
# make them an extension and print
ext = Extension("VK_CORE",
- headers=["vulkan/vulkan.h", "vk_lunarg_debug_report.h"],
+ headers=["vulkan/vulkan.h", "vulkan/vk_lunarg_debug_report.h"],
objects=object_lines,
protos=protos)
print("core =", str(ext))