diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2022-02-21 12:42:51 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2022-02-21 13:23:22 -0800 |
| commit | 23cbd570a1c58c7d24c83ae7e3788611c38717dc (patch) | |
| tree | 31619d0f9f15fc414e02407dd0a7376eb5aba7c6 /Source/Core/VideoCommon/FramebufferManager.cpp | |
| parent | 128fa8aec3738ab76075836780f7724a02d87f42 (diff) | |
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.
Diffstat (limited to 'Source/Core/VideoCommon/FramebufferManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/FramebufferManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/FramebufferManager.cpp b/Source/Core/VideoCommon/FramebufferManager.cpp index b805de77a8..c6cb2fd29e 100644 --- a/Source/Core/VideoCommon/FramebufferManager.cpp +++ b/Source/Core/VideoCommon/FramebufferManager.cpp @@ -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 |
