mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 23:11:14 +01:00
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.
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))
|
if (!IsEFBCacheTilePresent(true, x, y, &tile_index))
|
||||||
PopulateEFBCache(true, 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)
|
if (m_efb_depth_cache.needs_flush)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user