mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
nvk: Don't skip zero-size bindings in GetDescriptorSetLayoutSupport
We still need to handle them in the case of variable descriptor counts. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
parent
89bab0012a
commit
d0192cec1e
1 changed files with 0 additions and 3 deletions
|
|
@ -311,9 +311,6 @@ nvk_GetDescriptorSetLayoutSupport(VkDevice _device,
|
|||
if (binding_flags != NULL && binding_flags->bindingCount > 0)
|
||||
flags = binding_flags->pBindingFlags[i];
|
||||
|
||||
if (binding->descriptorCount == 0)
|
||||
continue;
|
||||
|
||||
switch (binding->descriptorType) {
|
||||
case VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC:
|
||||
case VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue