mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Silence a perf warning
This commit is contained in:
parent
a7dd6d6085
commit
273c266b78
1 changed files with 3 additions and 0 deletions
|
@ -124,6 +124,9 @@ static VkBool32 VKAPI_CALL Vulkan_Dbg(VkDebugReportFlagsEXT msgFlags, VkDebugRep
|
|||
}
|
||||
message << "[" << pLayerPrefix << "] " << ObjTypeToString(objType) << " Code " << msgCode << " : " << pMsg << "\n";
|
||||
|
||||
if (msgCode == 2) // Useless perf warning
|
||||
return false;
|
||||
|
||||
// This seems like a bogus result when submitting two command buffers in one go, one creating the image, the other one using it.
|
||||
if (msgCode == 6 && startsWith(pMsg, "Cannot submit cmd buffer using image"))
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue