diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2022-11-16 02:22:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-16 02:22:53 +0100 |
| commit | 99a918d884b7fd9442e2c621e0b2fb566db6aa1c (patch) | |
| tree | 731b1d2554f104f72d31a1a9bf814e627964b1bc /Source/Core/VideoCommon/FramebufferManager.h | |
| parent | 43e90ca02333b2842d086626aa23cf880e432ea2 (diff) | |
| parent | 1fdf15a1be499c308a2e3c7af96d09824638dc3e (diff) | |
Merge pull request #11280 from Pokechu22/efb-cache-cleanup
VideoCommon/FramebufferManager: Further EFB cache cleanup
Diffstat (limited to 'Source/Core/VideoCommon/FramebufferManager.h')
| -rw-r--r-- | Source/Core/VideoCommon/FramebufferManager.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/FramebufferManager.h b/Source/Core/VideoCommon/FramebufferManager.h index 16c7f18d3c..dd073dda12 100644 --- a/Source/Core/VideoCommon/FramebufferManager.h +++ b/Source/Core/VideoCommon/FramebufferManager.h @@ -191,9 +191,14 @@ protected: // Format conversion shaders std::array<std::unique_ptr<AbstractPipeline>, 6> m_format_conversion_pipelines; - // EFB cache - for CPU EFB access + // EFB cache - for CPU EFB access (EFB peeks/pokes), not for EFB copies + + // Width and height of a tile in pixels at 1x IR. 0 indicates non-tiled, in which case a single + // tile is used for the entire EFB. + // Note that as EFB peeks and pokes are a CPU feature, they always operate at 1x IR. u32 m_efb_cache_tile_size = 0; - u32 m_efb_cache_tiles_wide = 0; + // Number of tiles that make up a row in m_efb_color_cache.tiles / m_efb_depth_cache.tiles. + u32 m_efb_cache_tile_row_stride = 1; EFBCacheData m_efb_color_cache = {}; EFBCacheData m_efb_depth_cache = {}; |
