aboutsummaryrefslogtreecommitdiff
path: root/loader
diff options
context:
space:
mode:
Diffstat (limited to 'loader')
-rw-r--r--loader/debug_report.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/loader/debug_report.c b/loader/debug_report.c
index 14f5a250..cadb70c2 100644
--- a/loader/debug_report.c
+++ b/loader/debug_report.c
@@ -220,36 +220,6 @@ VKAPI_ATTR VkResult VKAPI_CALL loader_DbgDestroyMsgCallback(
return res;
}
-static void print_msg_flags(VkFlags msgFlags, char *msg_flags)
-{
- bool separator = false;
-
- msg_flags[0] = 0;
- if (msgFlags & VK_DEBUG_REPORT_DEBUG_BIT) {
- strcat(msg_flags, "DEBUG");
- separator = true;
- }
- if (msgFlags & VK_DEBUG_REPORT_INFO_BIT) {
- if (separator) strcat(msg_flags, ",");
- strcat(msg_flags, "INFO");
- separator = true;
- }
- if (msgFlags & VK_DEBUG_REPORT_WARN_BIT) {
- if (separator) strcat(msg_flags, ",");
- strcat(msg_flags, "WARN");
- separator = true;
- }
- if (msgFlags & VK_DEBUG_REPORT_PERF_WARN_BIT) {
- if (separator) strcat(msg_flags, ",");
- strcat(msg_flags, "PERF");
- separator = true;
- }
- if (msgFlags & VK_DEBUG_REPORT_ERROR_BIT) {
- if (separator) strcat(msg_flags, ",");
- strcat(msg_flags, "ERROR");
- }
-}
-
bool debug_report_instance_gpa(
struct loader_instance *ptr_instance,
const char* name,