From 48d23cc83dbd8966443c191ea031d2889df84bc5 Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Tue, 19 Jan 2016 16:08:39 -0700 Subject: debug_report: Integrate review feedback Conflicts: include/vulkan/vk_ext_debug_report.h Conflicts: include/vulkan/vk_ext_debug_report.h --- include/vulkan/vk_ext_debug_report.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'include') diff --git a/include/vulkan/vk_ext_debug_report.h b/include/vulkan/vk_ext_debug_report.h index e9577b94..4ed33f3c 100644 --- a/include/vulkan/vk_ext_debug_report.h +++ b/include/vulkan/vk_ext_debug_report.h @@ -44,11 +44,11 @@ extern "C" * DebugReport Vulkan Extension API *************************************************************************************************** */ + #define VK_EXT_debug_report 1 VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDebugReportCallbackEXT) -#define VK_EXT_DEBUG_REPORT_REVISION 2 -#define VK_EXT_DEBUG_REPORT_EXTENSION_NUMBER 11 +#define VK_EXT_DEBUG_REPORT_SPEC_VERSION 1 #define VK_EXT_DEBUG_REPORT_EXTENSION_NAME "VK_EXT_debug_report" @@ -85,10 +85,11 @@ typedef enum VkDebugReportObjectTypeEXT { } VkDebugReportObjectTypeEXT; typedef enum VkDebugReportErrorEXT { - VK_DEBUG_REPORT_ERROR_NONE = 0, - VK_DEBUG_REPORT_ERROR_CALLBACK_REF = 1, + VK_DEBUG_REPORT_ERROR_NONE_EXT = 0, + VK_DEBUG_REPORT_ERROR_CALLBACK_REF_EXT = 1, } VkDebugReportErrorEXT; + typedef enum VkDebugReportFlagBitsEXT { VK_DEBUG_REPORT_INFO_BIT_EXT = 0x00000001, VK_DEBUG_REPORT_WARN_BIT_EXT = 0x00000002, @@ -110,11 +111,11 @@ typedef VkBool32 (VKAPI_PTR *PFN_vkDebugReportCallbackEXT)( typedef struct VkDebugReportCallbackCreateInfoEXT { - VkStructureType sType; - const void* pNext; - VkDebugReportFlagsEXT flags; - PFN_vkDebugReportCallbackEXT pfnCallback; - void* pUserData; + VkStructureType sType; + const void* pNext; + VkDebugReportFlagsEXT flags; + PFN_vkDebugReportCallbackEXT pfnCallback; + void* pUserData; } VkDebugReportCallbackCreateInfoEXT; typedef VkResult (VKAPI_PTR *PFN_vkCreateDebugReportCallbackEXT)(VkInstance instance, const VkDebugReportCallbackCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkDebugReportCallbackEXT* pCallback); -- cgit v1.2.3