radv: only keep concurrent MSAA images compressed if TC-compat CMASK
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 27 Apr 2021 12:50:35 +0000 (14:50 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 3 May 2021 08:38:31 +0000 (08:38 +0000)
commit8b31092bcd38db242eba9e2267fb17b841c93735
tree604c90dddcce1d70d07f170f18c160f44fb8e75c
parent80f55e51634cf78b474a5a02e1dd9f4645cc3772
radv: only keep concurrent MSAA images compressed if TC-compat CMASK

Otherwise, we need a FMASK_DECOMPRESS which is only supported
on the gfx queue.

Fixes rendering with Forza Horizon 4 on Polaris10.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10482>
src/amd/vulkan/radv_image.c