FramebufferManager: Flush pending EFB pokes in PopulateEFBCache

I.e. flush pokes before running an EFB peek, if the cache tile isn't present.  If the cache tile is present, then EFB pokes should have been written to the cache tile and thus don't need to be flushed.
This commit is contained in:
Pokechu22 2022-02-21 12:42:51 -08:00
parent 128fa8aec3
commit 23cbd570a1

View File

@ -593,6 +593,7 @@ void FramebufferManager::DestroyReadbackFramebuffer()
void FramebufferManager::PopulateEFBCache(bool depth, u32 tile_index)
{
FlushEFBPokes();
g_vertex_manager->OnCPUEFBAccess();
// Force the path through the intermediate texture, as we can't do an image copy from a depth