radv: mark VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT as unsupported on GFX6-7
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 11 Jan 2021 15:00:47 +0000 (16:00 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 11 Jan 2021 17:17:42 +0000 (17:17 +0000)
commitd2524ed4a072430ca4acba50f00041d03d7039b1
tree0f2065965c6ef14574af55524fac156232ec2d81
parent4ea0ce2f55cde6c27b324d19c513f45f9dc8e38e
radv: mark VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT as unsupported on GFX6-7

This is only supported on GFX8+, this fixes a ton of CTS failures
on my Pitcairn (GFX6).

Fixes: af7fb4df50f ("radv: Add sparse image queries.")
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/8415>
src/amd/vulkan/radv_formats.c