nvk: Support VkDescriptorSetVariableDescriptorCountLayoutSupport
authorGeorge Ouzounoudis <geothrock@gmail.com>
Wed, 26 Apr 2023 18:37:23 +0000 (21:37 +0300)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:32:05 +0000 (21:32 +0000)
commit6a74b3e3118298fc9961173d23d8536de29a1f84
tree27708c3b595f25c380ef2e1deddfc5551cc0e777
parent81bec8b63bc1c4c49109b008b1043b6107b99bd6
nvk: Support VkDescriptorSetVariableDescriptorCountLayoutSupport

On cases with variable descriptor counts we need to calculate the
maximum supported variable count while taking into account the other existing
descriptors and their alignments in the set.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/vulkan/nvk_descriptor_set_layout.c