radv: set combinedImageSamplerDescriptorCount to 1 for multi-planar formats
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 4 Dec 2023 12:57:21 +0000 (13:57 +0100)
committerEric Engestrom <eric@engestrom.ch>
Fri, 8 Dec 2023 11:12:46 +0000 (11:12 +0000)
commitf776553f4d77835860cc3c2961fe6233e71f460c
tree016a830936cc46d9b2d164ad198756168383244c
parent605f8b70d4e6042da5de3fd44eb1fdcaf0cccbda
radv: set combinedImageSamplerDescriptorCount to 1 for multi-planar formats

RADV compacts all descriptors for multi-planar images into one
combined image sampler, so it should be 96, and not eg. 192 for a two
planes format.

Fixes new CTS
dEQP-VK.binding_model.descriptor_buffer.ycbcr_sampler.*array.

Cc: mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26498>
(cherry picked from commit 3678482f1e834cd12b17fd0bbd18d7ba2de34a9f)
.pick_status.json
src/amd/vulkan/radv_formats.c