diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2022-11-15 16:04:07 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2022-11-15 16:04:41 -0800 |
| commit | 1fdf15a1be499c308a2e3c7af96d09824638dc3e (patch) | |
| tree | ca8f5d0f7b58ea497a9a3974db084eca2985ddeb /Source/Core/VideoCommon/FramebufferManager.h | |
| parent | 55e1c3b51d43ac1e889694a363efcce204318f91 (diff) | |
VideoCommon/FramebufferManager: Rename m_efb_cache_tiles_wide to m_efb_cache_tile_row_stride
This also initializes it in the non-tiled case just for consistency, although it's not actually read in that case.
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 = {}; |
