mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 16:23:35 +01:00
Work around what seems like a validation layer bug (trigger by scrolling
around the UI a bit)
This commit is contained in:
1 parent
5ca012e83d
commit
79fd828d16
1 file changed
+4
@@ -119,6 +119,10 @@ static VkBool32 VKAPI_CALL Vulkan_Dbg(VkDebugReportFlagsEXT msgFlags, VkDebugRep
|
||||
}
|
||||
message << "[" << pLayerPrefix << "] " << ObjTypeToString(objType) << " Code " << msgCode << " : " << pMsg << "\n";
|
||||
|
||||
// Getting some bizarre false positive for mapping image memory.
|
||||
if (msgCode == 6)
|
||||
return false;
|
||||
|
||||
#ifdef _WIN32
|
||||
OutputDebugStringA(message.str().c_str());
|
||||
if (msgFlags & VK_DEBUG_REPORT_ERROR_BIT_EXT) {
|
||||
|
||||
Reference in new issue
Block a user