mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 07:10:15 +01:00
radv: Fix GetDescriptorSetLayoutSupport.
The continue means we do alignment differently than during creation, making the buffer smaller than expected. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
parent
d02bbde1a8
commit
082c11e8a5
1 changed files with 0 additions and 3 deletions
|
|
@ -230,9 +230,6 @@ void radv_GetDescriptorSetLayoutSupport(VkDevice device,
|
|||
for (uint32_t i = 0; i < pCreateInfo->bindingCount; i++) {
|
||||
const VkDescriptorSetLayoutBinding *binding = bindings + i;
|
||||
|
||||
if (binding->descriptorCount == 0)
|
||||
continue;
|
||||
|
||||
uint64_t descriptor_size = 0;
|
||||
uint64_t descriptor_alignment = 1;
|
||||
switch (binding->descriptorType) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue