radv: enable DCC for layers on GFX8

Graphics / Mesa 3D Graphics Library / Mesa - Samuel Pitoiset [gmail.com] - 2 July 2019 07:38 EDT

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(-)

Upstream: cgit.freedesktop.org


  • Share