summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_surface.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-06-24 18:40:29 +0200
committerSamuel Pitoiset <[email protected]>2019-06-25 16:36:28 +0200
commit34bef8a0d70211b073778d7a93d5c97d7f272558 (patch)
tree98e535978d5cb543032450ca0b32f132eadbe9ef /src/amd/common/ac_surface.h
parent476b907a3b40688e2ef2383804f9e1c91ec76a36 (diff)
radv: clear CMASK layers instead of the whole buffer on GFX8
This reduces the size of fill operations needed to clear CMASK for layered color textures. GFX9 unsupported for now. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_surface.h b/src/amd/common/ac_surface.h
index aa93e917270..31623634936 100644
--- a/src/amd/common/ac_surface.h
+++ b/src/amd/common/ac_surface.h
@@ -219,6 +219,7 @@ struct radeon_surf {
uint32_t htile_alignment;
uint32_t cmask_size;
+ uint32_t cmask_slice_size;
uint32_t cmask_alignment;
union {