Merge pull request #10471 from Pokechu22/flush-efb-pokes-before-peeking

FramebufferManager: Flush pending EFB pokes in PopulateEFBCache
This commit is contained in:
Pokechu22 2022-02-22 17:09:34 -08:00 committed by GitHub
commit 5b3b6a7f1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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