radv: Disable DCC on storage images that cannot support DCC image stores
authorJoshua Ashton <joshua@froggi.es>
Tue, 14 Sep 2021 02:36:07 +0000 (03:36 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 15 Sep 2021 00:21:04 +0000 (00:21 +0000)
commitfe96cea2f394cfda1630b27c1f0670f6c58ddac2
treee13fb56801d74af0c659126e9d26b1dae3ae100c
parentaed4c0b5a9bf55035c5de3455b6a243be82a8376
radv: Disable DCC on storage images that cannot support DCC image stores

Additional work is needed for storage images with DCC without DCC image stores to not be broken.

Fixes black screens in Doom Eternal.

Fixes: #5345
Signed-off-by: Joshua Ashton <joshua@froggi.es>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12818>
src/amd/vulkan/radv_image.c