diff options
author | Samuel Pitoiset <[email protected]> | 2019-07-01 16:30:55 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-07-02 09:37:41 +0200 |
commit | 6517d226acc8f07db7d730c727758e3a0f1e7cf8 (patch) | |
tree | 0282d8c5a5ac2f9dbbab37bdcc73045a27d67ebb /src/amd/common/ac_surface.h | |
parent | 457a55716ea7752616bfadafce705f8a07970b9e (diff) |
ac: compute the size of one DCC slice on GFX8
Addrlib doesn't provide this info. Because DCC is linear, at least
on GFX8, it's easy to compute the size of one slice.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/common/ac_surface.h')
-rw-r--r-- | src/amd/common/ac_surface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_surface.h b/src/amd/common/ac_surface.h index 31623634936..8143c9f9a0e 100644 --- a/src/amd/common/ac_surface.h +++ b/src/amd/common/ac_surface.h @@ -212,6 +212,7 @@ struct radeon_surf { /* DCC and HTILE are very small. */ uint32_t dcc_size; + uint32_t dcc_slice_size; uint32_t dcc_alignment; uint32_t htile_size; |