ac/surface: don't compute DCC if it's unsupported by DCN on gfx9+
authorMarek Olšák <marek.olsak@amd.com>
Sat, 18 Apr 2020 00:27:32 +0000 (20:27 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Apr 2020 14:53:25 +0000 (14:53 +0000)
commita3dc7fffbb7be0f1b2ac478b16d3acc5662dff66
tree30278e48065c16c5fd52dc5b85416073eefb50fa
parent5d785f99b75c92220205862e7d6d4d4a2f503143
ac/surface: don't compute DCC if it's unsupported by DCN on gfx9+

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4697>
src/amd/common/ac_surface.c
src/gallium/drivers/radeonsi/si_texture.c