diff options
| author | Courtney Goeltzenleuchter <courtneygo@google.com> | 2015-11-30 12:13:14 -0700 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2015-12-17 11:20:06 -0700 |
| commit | 2dafae41b1f79bfb462eb37c1fdf3479879d9485 (patch) | |
| tree | 5a8f281e9deb7556ee05accd6231fa6a1ef792c7 /vulkan.py | |
| parent | dd0e617a6c5865c5a0d8ef6b9f626535b5c0708d (diff) | |
| download | usermoji-2dafae41b1f79bfb462eb37c1fdf3479879d9485.tar.xz | |
debug_report: rename and update to use CreateInfo
Diffstat (limited to 'vulkan.py')
| -rwxr-xr-x | vulkan.py | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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)) |
