aboutsummaryrefslogtreecommitdiff
path: root/loader/debug_report.h
diff options
context:
space:
mode:
Diffstat (limited to 'loader/debug_report.h')
-rw-r--r--loader/debug_report.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/loader/debug_report.h b/loader/debug_report.h
index 1d812756..baaae86f 100644
--- a/loader/debug_report.h
+++ b/loader/debug_report.h
@@ -123,3 +123,24 @@ VKAPI_ATTR void VKAPI_CALL loader_DebugReportMessage(
int32_t msgCode,
const char* pLayerPrefix,
const char* pMsg);
+
+VkResult util_CreateDebugReportCallback(
+ struct loader_instance *inst,
+ VkDebugReportCallbackCreateInfoLUNARG *pCreateInfo,
+ const VkAllocationCallbacks *pAllocator,
+ VkDebugReportCallbackLUNARG callback);
+
+void util_DestroyDebugReportCallback(
+ struct loader_instance *inst,
+ VkDebugReportCallbackLUNARG callback,
+ const VkAllocationCallbacks *pAllocator);
+
+VkBool32 util_DebugReportMessage(
+ const struct loader_instance* inst,
+ VkFlags msgFlags,
+ VkDebugReportObjectTypeLUNARG objectType,
+ uint64_t srcObject,
+ size_t location,
+ int32_t msgCode,
+ const char* pLayerPrefix,
+ const char* pMsg);