for (uint32_t j = 0; j < pCreateInfo->bindingCount; j++) {
const VkDescriptorSetLayoutBinding *binding = bindings + j;
uint32_t b = binding->binding;
- uint32_t alignment;
+ uint32_t alignment = 0;
unsigned binding_buffer_count = 0;
uint32_t descriptor_count = binding->descriptorCount;
bool has_ycbcr_sampler = false;
descriptor_count = 1;
break;
default:
- unreachable("unknown descriptor type\n");
break;
}
descriptor_count = 1;
break;
default:
- unreachable("unknown descriptor type\n");
break;
}
bo_size += pCreateInfo->pPoolSizes[i].descriptorCount;
break;
default:
- unreachable("unknown descriptor type\n");
break;
}
}
}
break;
default:
- unreachable("unimplemented descriptor type");
break;
}
ptr += binding_layout->size / 4;
memcpy(pDst, templ->entry[i].immutable_samplers + 4 * j, 16);
break;
default:
- unreachable("unimplemented descriptor type");
break;
}
pSrc += templ->entry[i].src_stride;