aboutsummaryrefslogtreecommitdiff
path: root/loader/debug_report.c
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtneygo@google.com>2015-11-25 14:35:26 -0700
committerJon Ashburn <jon@lunarg.com>2015-12-15 09:16:36 -0700
commit76a927e70419b1beeb3b17e99606d21da2eaf74d (patch)
tree28c007465ac317e8876ad8f704ec9974deb5472a /loader/debug_report.c
parent50517d47af5829d2952fe82d92a63a078acebd34 (diff)
downloadusermoji-76a927e70419b1beeb3b17e99606d21da2eaf74d.tar.xz
loader: Remove unused function
Diffstat (limited to 'loader/debug_report.c')
-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,