radeonsi: use vi_dcc_enabled instead of using tex->surface.dcc_offset directly
authorMarek Olšák <marek.olsak@amd.com>
Thu, 7 May 2020 17:46:10 +0000 (13:46 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 15 May 2020 22:12:35 +0000 (22:12 +0000)
commitb5ac9d18d8f30893aff1e141f89085dab557b7df
tree195bfcf3f23df50daa913abe541e711eb51f39af
parent2c4c1b049966a2cc4619fec796ea244f53051a6c
radeonsi: use vi_dcc_enabled instead of using tex->surface.dcc_offset directly

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4935>
src/gallium/drivers/radeonsi/si_blit.c
src/gallium/drivers/radeonsi/si_clear.c
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_state.c