aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtneygo@google.com>2016-01-19 16:08:39 -0700
committerJon Ashburn <jon@lunarg.com>2016-01-20 18:07:12 -0700
commit48d23cc83dbd8966443c191ea031d2889df84bc5 (patch)
tree742e5f8bca8d3c71f31dc6c42d0781b533b05ffd /include
parentfb031e72f092194aeccf6e39adbf0e83ff91768b (diff)
downloadusermoji-48d23cc83dbd8966443c191ea031d2889df84bc5.tar.xz
debug_report: Integrate review feedback
Conflicts: include/vulkan/vk_ext_debug_report.h Conflicts: include/vulkan/vk_ext_debug_report.h
Diffstat (limited to 'include')
-rw-r--r--include/vulkan/vk_ext_debug_report.h19
1 files changed, 10 insertions, 9 deletions
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);