From 34bef8a0d70211b073778d7a93d5c97d7f272558 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Mon, 24 Jun 2019 18:40:29 +0200 Subject: 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 Reviewed-by: Bas Nieuwenhuizen --- src/amd/common/ac_surface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/amd/common/ac_surface.h') 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 { -- cgit v1.2.3