aboutsummaryrefslogtreecommitdiff
path: root/vulkan.py
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtneygo@google.com>2015-11-30 12:13:14 -0700
committerJon Ashburn <jon@lunarg.com>2015-12-17 11:20:06 -0700
commit2dafae41b1f79bfb462eb37c1fdf3479879d9485 (patch)
tree5a8f281e9deb7556ee05accd6231fa6a1ef792c7 /vulkan.py
parentdd0e617a6c5865c5a0d8ef6b9f626535b5c0708d (diff)
downloadusermoji-2dafae41b1f79bfb462eb37c1fdf3479879d9485.tar.xz
debug_report: rename and update to use CreateInfo
Diffstat (limited to 'vulkan.py')
-rwxr-xr-xvulkan.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/vulkan.py b/vulkan.py
index 1e32b2d8..897688f8 100755
--- a/vulkan.py
+++ b/vulkan.py
@@ -192,7 +192,7 @@ class Extension(object):
# 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 @@ lunarg_debug_report = Extension(
"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 @@ def parse_vk_h(filename):
# 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))