summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/FramebufferManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/FramebufferManager.h')
-rw-r--r--Source/Core/VideoCommon/FramebufferManager.h9
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 = {};