From 0f060df145d1a612dfa4c07c16d3aeada75d46f3 Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Wed, 9 Dec 2015 15:48:16 -0700 Subject: debug_report: rename object type and error bits Conflicts: demos/tri.c layers/device_limits.cpp layers/draw_state.cpp layers/image.cpp layers/mem_tracker.cpp layers/param_checker.cpp layers/vk_layer_logging.h loader/debug_report.c tests/layer_validation_tests.cpp --- vulkan.py | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'vulkan.py') diff --git a/vulkan.py b/vulkan.py index 1da98043..eeb20ea7 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", "vulkan/vk_lunarg_debug_report.h"], + headers=["vulkan/vulkan.h", "vulkan/vk_ext_debug_report.h"], objects=[ "VkInstance", "VkPhysicalDevice", @@ -1118,27 +1118,27 @@ ext_khr_win32_surface = Extension( ], ) lunarg_debug_report = Extension( - name="VK_LUNARG_DEBUG_REPORT", - headers=["vulkan/vk_lunarg_debug_report.h"], + name="VK_EXT_debug_report", + headers=["vulkan/vk_ext_debug_report.h"], objects=[ - "VkDebugReportCallbackLUNARG", + "VkDebugReportCallbackEXT", ], protos=[ - Proto("VkResult", "CreateDebugReportCallbackLUNARG", + Proto("VkResult", "CreateDebugReportCallbackEXT", [Param("VkInstance", "instance"), - Param("VkDebugReportCallbackCreateInfoLUNARG*", "pCreateInfo"), + Param("const VkDebugReportCallbackCreateInfoEXT*", "pCreateInfo"), Param("const VkAllocationCallbacks*", "pAllocator"), - Param("VkDebugReportCallbackLUNARG*", "pCallback")]), + Param("VkDebugReportCallbackEXT*", "pCallback")]), - Proto("void", "DestroyDebugReportCallbackLUNARG", + Proto("void", "DestroyDebugReportCallbackEXT", [Param("VkInstance", "instance"), - Param("VkDebugReportCallbackLUNARG", "callback"), + Param("VkDebugReportCallbackEXT", "callback"), Param("const VkAllocationCallbacks*", "pAllocator")]), - Proto("void", "DebugReportMessageLUNARG", + Proto("void", "DebugReportMessageEXT", [Param("VkInstance", "instance"), - Param("VkDebugReportFlagsLUNARG", "flags"), - Param("VkDebugReportObjectTypeLUNARG", "objType"), + Param("VkDebugReportFlagsEXT", "flags"), + Param("VkDebugReportObjectTypeEXT", "objType"), Param("uint64_t", "object"), Param("size_t", "location"), Param("int32_t", "msgCode"), @@ -1160,14 +1160,14 @@ lunarg_debug_marker = Extension( Proto("VkResult", "DbgSetObjectTag", [Param("VkDevice", "device"), - Param("VkDebugReportObjectTypeLUNARG", "objType"), + Param("VkDebugReportObjectTypeEXT", "objType"), Param("uint64_t", "object"), Param("size_t", "tagSize"), Param("const void*", "pTag")]), Proto("VkResult", "DbgSetObjectName", [Param("VkDevice", "device"), - Param("VkDebugReportObjectTypeLUNARG", "objType"), + Param("VkDebugReportObjectTypeEXT", "objType"), Param("uint64_t", "object"), Param("size_t", "nameSize"), Param("const char*", "pName")]), @@ -1213,7 +1213,7 @@ object_non_dispatch_list = [ "VkFramebuffer", "VkSwapchainKHR", "VkSurfaceKHR", - "VkDebugReportCallbackLUNARG", + "VkDebugReportCallbackEXT", ] object_type_list = object_dispatch_list + object_non_dispatch_list @@ -1279,7 +1279,7 @@ def parse_vk_h(filename): # make them an extension and print ext = Extension("VK_CORE", - headers=["vulkan/vulkan.h", "vulkan/vk_lunarg_debug_report.h"], + headers=["vulkan/vulkan.h", "vulkan/vk_ext_debug_report.h"], objects=object_lines, protos=protos) print("core =", str(ext)) -- cgit v1.2.3