diff options
| author | Courtney Goeltzenleuchter <courtneygo@google.com> | 2015-11-30 15:28:25 -0700 |
|---|---|---|
| committer | Jon Ashburn <jon@lunarg.com> | 2015-12-17 11:20:06 -0700 |
| commit | fd150e9eb3ba16a0df0f817cc00087827e49efd7 (patch) | |
| tree | fec4d8adb1c192d0c249988eb44a1561486015b4 /include | |
| parent | c0e34c259c07ab819529c7b1ca712127dd633949 (diff) | |
| download | usermoji-fd150e9eb3ba16a0df0f817cc00087827e49efd7.tar.xz | |
debug_report: Add DebugReportMessage function
Diffstat (limited to 'include')
| -rw-r--r-- | include/vulkan/vk_layer.h | 1 | ||||
| -rw-r--r-- | include/vulkan/vk_lunarg_debug_report.h | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/vulkan/vk_layer.h b/include/vulkan/vk_layer.h index 5ac2f7ed..401ca866 100644 --- a/include/vulkan/vk_layer.h +++ b/include/vulkan/vk_layer.h @@ -176,6 +176,7 @@ typedef struct VkLayerInstanceDispatchTable_ PFN_vkGetPhysicalDeviceSurfacePresentModesKHR GetPhysicalDeviceSurfacePresentModesKHR; PFN_vkCreateDebugReportCallbackLUNARG CreateDebugReportCallbackLUNARG; PFN_vkDestroyDebugReportCallbackLUNARG DestroyDebugReportCallbackLUNARG; + PFN_vkDebugReportMessageLUNARG DebugReportMessageLUNARG; #ifdef VK_USE_PLATFORM_MIR_KHR PFN_vkCreateMirSurfaceKHR CreateMirSurfaceKHR; PFN_vkGetPhysicalDeviceMirPresentationSupportKHR GetPhysicalDeviceMirPresentationSupportKHR; diff --git a/include/vulkan/vk_lunarg_debug_report.h b/include/vulkan/vk_lunarg_debug_report.h index 316476e9..c8d47cdc 100644 --- a/include/vulkan/vk_lunarg_debug_report.h +++ b/include/vulkan/vk_lunarg_debug_report.h @@ -138,6 +138,7 @@ typedef struct VkDebugReportCallbackCreateInfoLUNARG { typedef VkResult (VKAPI_PTR *PFN_vkCreateDebugReportCallbackLUNARG)(VkInstance instance, VkDebugReportCallbackCreateInfoLUNARG *pCreateInfo, const VkAllocationCallbacks *pAllocator, VkDebugReportCallbackLUNARG* pCallback); typedef void (VKAPI_PTR *PFN_vkDestroyDebugReportCallbackLUNARG)(VkInstance instance, VkDebugReportCallbackLUNARG callback, const VkAllocationCallbacks *pAllocator); +typedef void (VKAPI_PTR *PFN_vkDebugReportMessageLUNARG)(VkInstance instance, VkDebugReportFlagsLUNARG msgFlags, VkDebugReportObjectTypeLUNARG objType, uint64_t srcObject, size_t location, int32_t msgCode, const char *pLayerPrefix, const char *pMsg); #ifdef VK_PROTOTYPES @@ -152,6 +153,16 @@ VKAPI_ATTR void VKAPI_CALL vkDestroyDebugReportCallbackLUNARG( VkInstance instance, VkDebugReportCallbackLUNARG callback, const VkAllocationCallbacks* pAllocator); + +VKAPI_ATTR void VKAPI_CALL vkDebugReportMessageLUNARG( + VkInstance instance, + VkDebugReportFlagsLUNARG flags, + VkDebugReportObjectTypeLUNARG objType, + uint64_t object, + size_t location, + int32_t msgCode, + const char* pLayerPrefix, + const char* pMsg); #endif // VK_PROTOTYPES #ifdef __cplusplus |
