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 baac021e..72a31e53 100644
--- a/loader/debug_report.h
+++ b/loader/debug_report.h
@@ -142,6 +142,27 @@ void util_DestroyDebugReportCallback(struct loader_instance *inst,
VkDebugReportCallbackEXT callback,
const VkAllocationCallbacks *pAllocator);
+VkResult
+util_CopyDebugReportCreateInfos(const void *pChain,
+ const VkAllocationCallbacks *pAllocator,
+ uint32_t *num_callbacks,
+ VkDebugReportCallbackCreateInfoEXT **infos,
+ VkDebugReportCallbackEXT **callbacks);
+void util_FreeDebugReportCreateInfos(const VkAllocationCallbacks *pAllocator,
+ VkDebugReportCallbackCreateInfoEXT *infos,
+ VkDebugReportCallbackEXT *callbacks);
+VkResult
+util_CreateDebugReportCallbacks(struct loader_instance *inst,
+ const VkAllocationCallbacks *pAllocator,
+ uint32_t num_callbacks,
+ VkDebugReportCallbackCreateInfoEXT *infos,
+ VkDebugReportCallbackEXT *callbacks);
+
+void util_DestroyDebugReportCallbacks(struct loader_instance *inst,
+ const VkAllocationCallbacks *pAllocator,
+ uint32_t num_callbacks,
+ VkDebugReportCallbackEXT *callbacks);
+
VkBool32 util_DebugReportMessage(const struct loader_instance *inst,
VkFlags msgFlags,
VkDebugReportObjectTypeEXT objectType,