radv: fix DCC decompress on GFX11
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 1 Mar 2023 08:37:29 +0000 (09:37 +0100)
committerMarge Bot <emma+marge@anholt.net>
Thu, 2 Mar 2023 16:03:31 +0000 (16:03 +0000)
commit4ec6850210d1a8ff2549df7800f414bc9b604edb
tree463cee02fe3bc8006886e6c35e42fff234e28d47
parent57ab623f0bbf8ce164e2a84847756d9dab0ed7e6
radv: fix DCC decompress on GFX11

The hardware requires one color output to be set by CB registers,
otherwise the DCC decompression does nothing.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8127
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8175
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8370
Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21629>
src/amd/vulkan/radv_pipeline.c