mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
VideoCommon/FramebufferManager: Always update frame access mask on depth peeks
0e02ddcf52
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.
This commit is contained in:
parent
8a1c28be63
commit
90d05fe37e
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user