[D3D12] Count dirty RT rows rather than tiles

This commit is contained in:
Triang3l
2018-08-11 21:04:14 +03:00
parent 9b303c64ba
commit c7da5f0572
2 changed files with 26 additions and 28 deletions

View File

@@ -301,9 +301,9 @@ class RenderTargetCache {
// Whether this render target has been used since the last full update.
bool is_bound;
uint32_t edram_base;
// How many tiles has already been drawn to the render target since the last
// full update.
uint32_t edram_dirty_length;
// How many 16-pixel rows has already been drawn to the render target since
// the last full update.
uint32_t edram_dirty_rows;
union {
uint32_t format;
ColorRenderTargetFormat color_format;