mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
Log validation errors normally as well as using OutputDebugString.
This commit is contained in:
parent
95a4cd37fc
commit
3607f0ab32
@ -75,14 +75,13 @@ VKAPI_ATTR VkBool32 VKAPI_CALL VulkanDebugUtilsCallback(
|
|||||||
DebugBreak();
|
DebugBreak();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#endif
|
||||||
// TODO: Improve.
|
|
||||||
if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT) {
|
if (messageSeverity & VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT) {
|
||||||
ERROR_LOG(G3D, "VKDEBUG: %s", msg.c_str());
|
ERROR_LOG(G3D, "VKDEBUG: %s", msg.c_str());
|
||||||
} else {
|
} else {
|
||||||
WARN_LOG(G3D, "VKDEBUG: %s", msg.c_str());
|
WARN_LOG(G3D, "VKDEBUG: %s", msg.c_str());
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
// false indicates that layer should not bail-out of an
|
// false indicates that layer should not bail-out of an
|
||||||
// API call that had validation failures. This may mean that the
|
// API call that had validation failures. This may mean that the
|
||||||
|
Loading…
Reference in New Issue
Block a user