radv: do not allow sparse resources with multi-planar formats
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 27 Jan 2020 14:17:25 +0000 (15:17 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 27 Jan 2020 15:47:49 +0000 (15:47 +0000)
commit83e1fa87a7e25b8e60f0817b09df8b54cfc38abd
tree1723524aa0a24fb3b11b6096106b64bb6390e195
parent24360966ab31a9bedfe07356413769218fd2e0b6
radv: do not allow sparse resources with multi-planar formats

It's unsupported.

Fixes some fails or hangs with
dEQP-VK.sparse_resources.image_sparse_binding.*

Cc: 19.3 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3581>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3581>
src/amd/vulkan/radv_formats.c