radv: Decompress DCC when the image format is not allowed for buffers.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 15 Jun 2019 16:05:05 +0000 (18:05 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 17 Jun 2019 10:56:50 +0000 (10:56 +0000)
commit410759091173fa61436ba46baeb20a79d5767849
treee4e52def57c544d1497eae5b2588ef135e138033
parente9875fc0b648058a995cf16fc380bf8e75330fa6
radv: Decompress DCC when the image format is not allowed for buffers.

Otherwise the buffer loads/stores in the bufimage meta operations fail.

If we decompress DCC then we can use the "canonical" format compatible
with the not-supported format.

CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_formats.c
src/amd/vulkan/radv_meta_copy.c
src/amd/vulkan/radv_private.h