It's currently only enabled if dcc_slice_size is equal to dcc_slice_fast_clear_size because the driver assumes that portions of multiple layers are contiguous but it's not always true.
Still not supported on GFX9.
6cc213b3c12 radv: enable DCC for layers on GFX8
src/amd/vulkan/radv_image.c | 32 +++++++++++++++++++++++---------
1 file changed, 23 insertions(+), 9 deletions(-)