radv: fix usage flag for 3D compressed 128 bpp images on GFX9
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 17 Apr 2023 16:06:11 +0000 (18:06 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Apr 2023 08:20:50 +0000 (08:20 +0000)
commit72a522fb3692985a4e805b00f6d7e2f5a0386d47
tree5dc342d46944f2a080b9e33bf108025caebc031a
parent8a2fab66deeb9320ce4b323b62d0bd2765989f29
radv: fix usage flag for 3D compressed 128 bpp images on GFX9

VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT is equal to
VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT but we want COLOR_ATTACHMENT_BIT.

Found by inspection.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22540>
src/amd/vulkan/radv_formats.c