From 76a927e70419b1beeb3b17e99606d21da2eaf74d Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Wed, 25 Nov 2015 14:35:26 -0700 Subject: loader: Remove unused function --- loader/debug_report.c | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'loader/debug_report.c') 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, -- cgit v1.2.3