diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2022-11-15 15:34:03 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2022-11-15 15:34:03 -0800 |
| commit | 90d05fe37e6baf0d88a9eee8a63f0610dfba33ee (patch) | |
| tree | b17fbbc6d3b43731e62b5f9758560e0fdc6379b9 /Source | |
| parent | 8a1c28be6318c9d3cd373bcee3f80969d466e9b1 (diff) | |
VideoCommon/FramebufferManager: Always update frame access mask on depth peeks
0e02ddcf52ed86060ac1a0a85fa144738fa5163c removed separate logic for tiled versus non-tiled EFB peek caches, and as part of that made it so that color peeks updated the frame access mask even when a non-tiled cache is in use. However, the same change was not made for depth peeks. I'm not sure if this affected anything in practice.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/VideoCommon/FramebufferManager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/FramebufferManager.cpp b/Source/Core/VideoCommon/FramebufferManager.cpp index a7b248f25d..490afab3a8 100644 --- a/Source/Core/VideoCommon/FramebufferManager.cpp +++ b/Source/Core/VideoCommon/FramebufferManager.cpp @@ -439,8 +439,7 @@ float FramebufferManager::PeekEFBDepth(u32 x, u32 y) if (!IsEFBCacheTilePresent(true, x, y, &tile_index)) PopulateEFBCache(true, tile_index); - if (IsUsingTiledEFBCache()) - m_efb_depth_cache.tiles[tile_index].frame_access_mask |= 1; + m_efb_depth_cache.tiles[tile_index].frame_access_mask |= 1; if (m_efb_depth_cache.needs_flush) { |
