Lines Matching refs:p_alloc_info
2427 …cateDescriptorSetsData(const layer_data *dev_data, const VkDescriptorSetAllocateInfo *p_alloc_info, in UpdateAllocateDescriptorSetsData() argument
2429 for (uint32_t i = 0; i < p_alloc_info->descriptorSetCount; i++) { in UpdateAllocateDescriptorSetsData()
2430 auto layout = GetDescriptorSetLayout(dev_data, p_alloc_info->pSetLayouts[i]); in UpdateAllocateDescriptorSetsData()
2444 …AllocateDescriptorSets(const layer_data *dev_data, const VkDescriptorSetAllocateInfo *p_alloc_info, in ValidateAllocateDescriptorSets() argument
2447 auto pool_state = GetDescriptorPoolState(p_alloc_info->descriptorPool); in ValidateAllocateDescriptorSets()
2449 for (uint32_t i = 0; i < p_alloc_info->descriptorSetCount; i++) { in ValidateAllocateDescriptorSets()
2450 auto layout = GetDescriptorSetLayout(dev_data, p_alloc_info->pSetLayouts[i]); in ValidateAllocateDescriptorSets()
2454 …HandleToUint64(p_alloc_info->pSetLayouts[i]), "VUID-VkDescriptorSetAllocateInfo-pSetLayouts-00308", in ValidateAllocateDescriptorSets()
2457 report_data->FormatHandle(p_alloc_info->pSetLayouts[i]).c_str(), i, in ValidateAllocateDescriptorSets()
2470 if (pool_state->availableSets < p_alloc_info->descriptorSetCount) { in ValidateAllocateDescriptorSets()
2475 … p_alloc_info->descriptorSetCount, report_data->FormatHandle(pool_state->pool).c_str(), in ValidateAllocateDescriptorSets()
2492 …fo = lvl_find_in_chain<VkDescriptorSetVariableDescriptorCountAllocateInfoEXT>(p_alloc_info->pNext); in ValidateAllocateDescriptorSets()
2496 count_allocate_info->descriptorSetCount != p_alloc_info->descriptorSetCount) { in ValidateAllocateDescriptorSets()
2501 … p_alloc_info->descriptorSetCount, count_allocate_info->descriptorSetCount); in ValidateAllocateDescriptorSets()
2503 if (count_allocate_info->descriptorSetCount == p_alloc_info->descriptorSetCount) { in ValidateAllocateDescriptorSets()
2504 for (uint32_t i = 0; i < p_alloc_info->descriptorSetCount; i++) { in ValidateAllocateDescriptorSets()
2505 auto layout = GetDescriptorSetLayout(dev_data, p_alloc_info->pSetLayouts[i]); in ValidateAllocateDescriptorSets()
2520 void CoreChecks::PerformAllocateDescriptorSets(const VkDescriptorSetAllocateInfo *p_alloc_info, in PerformAllocateDescriptorSets() argument
2526 auto pool_state = (*pool_map)[p_alloc_info->descriptorPool]; in PerformAllocateDescriptorSets()
2528 pool_state->availableSets -= p_alloc_info->descriptorSetCount; in PerformAllocateDescriptorSets()
2533 …fo = lvl_find_in_chain<VkDescriptorSetVariableDescriptorCountAllocateInfoEXT>(p_alloc_info->pNext); in PerformAllocateDescriptorSets()
2534 …d = variable_count_info && variable_count_info->descriptorSetCount == p_alloc_info->descriptorSetC… in PerformAllocateDescriptorSets()
2537 for (uint32_t i = 0; i < p_alloc_info->descriptorSetCount; i++) { in PerformAllocateDescriptorSets()
2540 …auto new_ds = new cvdescriptorset::DescriptorSet(descriptor_sets[i], p_alloc_info->descriptorPool,… in PerformAllocateDescriptorSets()