From 209ac6898675df0d4b38e45a5597cb6c910cc59c Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Thu, 11 Jun 2015 15:56:14 -0600 Subject: debug_report: Add error codes Add error codes for messages the debug report layer can generate. --- include/vk_debug_report_lunarg.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/vk_debug_report_lunarg.h b/include/vk_debug_report_lunarg.h index 08ed91c2..3145d938 100644 --- a/include/vk_debug_report_lunarg.h +++ b/include/vk_debug_report_lunarg.h @@ -63,6 +63,13 @@ typedef enum VkDbgReportFlags_ VK_DBG_REPORT_DEBUG_BIT = VK_BIT(4), } VkDbgReportFlags; +// Debug Report ERROR codes +typedef enum _DEBUG_REPORT_ERROR +{ + DEBUG_REPORT_NONE, // Used for INFO & other non-error messages + DEBUG_REPORT_CALLBACK_REF, // Callbacks were not destroyed prior to calling DestroyInstance +} DEBUG_REPORT_ERROR; + #define VK_DEBUG_REPORT_ENUM_EXTEND(type, id) ((type)(VK_DEBUG_REPORT_EXTENSION_NUMBER * -1000 + (id))) #define VK_OBJECT_TYPE_MSG_CALLBACK VK_DEBUG_REPORT_ENUM_EXTEND(VkObjectType, 0) -- cgit v1.2.3