format debugdevice messages (#970)

added "\n" to vulkan error and warning strings in
debugUtilsMessengerCallback for better readability
This commit is contained in:
k4ss4n
2024-10-22 15:14:20 +02:00
committed by GitHub
parent 541381a521
commit 3d3cb33e00
+2
View File
@@ -616,12 +616,14 @@ namespace vulkan_internal
{
ss += "[Vulkan Warning]: ";
ss += callback_data->pMessage;
ss += "\n";
wi::helper::DebugOut(ss, wi::helper::DebugLevel::Warning);
}
else if (message_severity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT)
{
ss += "[Vulkan Error]: ";
ss += callback_data->pMessage;
ss += "\n";
wi::helper::DebugOut(ss, wi::helper::DebugLevel::Error);
}