Commit fc1cfd56 authored by Georges Basile Stavracas Neto's avatar Georges Basile Stavracas Neto
Browse files

vulkancontext: Improve debug output

parent ea952a6e
......@@ -682,23 +682,23 @@ gdk_vulkan_debug_report (VkDebugReportFlagsEXT flags,
{
if (flags & VK_DEBUG_REPORT_ERROR_BIT_EXT)
{
g_critical ("Vulkan: %s: %s\n", pLayerPrefix, pMessage);
g_critical ("Vulkan: %s: %s", pLayerPrefix, pMessage);
}
else if (flags & VK_DEBUG_REPORT_WARNING_BIT_EXT)
{
g_critical ("Vulkan: %s: %s\n", pLayerPrefix, pMessage);
g_critical ("Vulkan: %s: %s", pLayerPrefix, pMessage);
}
else if (flags & VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT)
{
g_warning ("Vulkan: %s: %s\n", pLayerPrefix, pMessage);
g_warning ("Vulkan: %s: %s", pLayerPrefix, pMessage);
}
else if (flags & VK_DEBUG_REPORT_DEBUG_BIT_EXT)
{
g_debug ("Vulkan: %s: %s\n", pLayerPrefix, pMessage);
g_debug ("Vulkan: %s: %s", pLayerPrefix, pMessage);
}
else
{
g_message ("Vulkan: %s: %s\n", pLayerPrefix, pMessage);
g_message ("Vulkan: %s: %s", pLayerPrefix, pMessage);
}
return VK_FALSE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment