Log debug messages with verbose severity instead of info
authorKévin Petit <kpet@free.fr>
Thu, 9 Apr 2020 12:54:21 +0000 (13:54 +0100)
committerLenny Komow <lenny@lunarg.com>
Thu, 9 Apr 2020 15:38:50 +0000 (09:38 -0600)
Both the loader and VK_EXT_debug_utils define four levels of severity,
map them one to one.

Signed-off-by: Kévin Petit <kpet@free.fr>
loader/loader.c

index 3777696bc41922973e2702c7d2077f2fe9d83845..4474f5c3dcfd96dadf62fb1bc8a548c5ad3f6e33 100644 (file)
@@ -396,7 +396,7 @@ void loader_log(const struct loader_instance *inst, VkFlags msg_type, int32_t ms
         } else if ((msg_type & LOADER_ERROR_BIT) != 0) {
             severity = VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT;
         } else if ((msg_type & LOADER_DEBUG_BIT) != 0) {
-            severity = VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT;
+            severity = VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT;
         }
 
         if ((msg_type & LOADER_PERF_BIT) != 0) {