radeonsi: implement and use compute-based DCC decompression on gfx9-10
authorMarek Olšák <marek.olsak@amd.com>
Sun, 26 Apr 2020 12:38:54 +0000 (08:38 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 30 Apr 2020 22:27:31 +0000 (22:27 +0000)
commitd6acdbd9352bd4175191069139fd5f54cf2cc95f
treef4a2da73c164b8ea3c1c253fa49fb8372205378d
parentd3da73954a639f8e43e6d22ac3f16a786d5e37cb
radeonsi: implement and use compute-based DCC decompression on gfx9-10

DCC_DECOMPRESS doesn't work. Instead of trying to figure out why,
use a compute blit where the load is compressed and the store is
uncompressed.

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