diff options
| author | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-06-11 15:56:14 -0600 |
|---|---|---|
| committer | Courtney Goeltzenleuchter <courtney@LunarG.com> | 2015-06-18 10:22:55 -0600 |
| commit | 209ac6898675df0d4b38e45a5597cb6c910cc59c (patch) | |
| tree | 1f7c3bb586f83951fe0b0fb4b4a1899643108b1d /include | |
| parent | ded9bfa150e0ee35b58e458f42274befae62c0f5 (diff) | |
| download | usermoji-209ac6898675df0d4b38e45a5597cb6c910cc59c.tar.xz | |
debug_report: Add error codes
Add error codes for messages the debug report layer
can generate.
Diffstat (limited to 'include')
| -rw-r--r-- | include/vk_debug_report_lunarg.h | 7 |
1 files changed, 7 insertions, 0 deletions
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) |
