radv: Use correct DCC compressed block size for sampling.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 15 Mar 2021 21:15:39 +0000 (22:15 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Mar 2021 00:50:11 +0000 (00:50 +0000)
commit013aa05edb6d6db7f3615c3d2242f80eee7cb742
treeca49af84f19ea5b5996f43008ac73dae50c6ab8a
parentee395df3152bffb37f6a358a8b12f5aa613fcf20
radv: Use correct DCC compressed block size for sampling.

Don't need to change the pre-GFX9 samplers because this option doesn't
vary there.

Fixes: f848f2adfae ("radv: Use ac_surface DCC settings for shareable images.")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4455
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4425
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9611>
src/amd/vulkan/radv_image.c