• Home
  • Raw
  • Download

Lines Matching refs:binding_info

97         auto &binding_info = bindings_.back();  in DescriptorSetLayoutDef()  local
100 descriptor_count_ += binding_info.descriptorCount; in DescriptorSetLayoutDef()
101 if (binding_info.descriptorCount > 0) { in DescriptorSetLayoutDef()
105 if (binding_info.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC || in DescriptorSetLayoutDef()
106 binding_info.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC) { in DescriptorSetLayoutDef()
107 binding_to_dyn_count[binding_num] = binding_info.descriptorCount; in DescriptorSetLayoutDef()
108 dynamic_descriptor_count_ += binding_info.descriptorCount; in DescriptorSetLayoutDef()
110 } else if ((binding_info.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) || in DescriptorSetLayoutDef()
111 (binding_info.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)) { in DescriptorSetLayoutDef()
355 const auto &binding_info = create_info->pBindings[i]; in ValidateDescriptorSetLayoutCreateInfo() local
356 max_binding = std::max(max_binding, binding_info.binding); in ValidateDescriptorSetLayoutCreateInfo()
358 if (!bindings.insert(binding_info.binding).second) { in ValidateDescriptorSetLayoutCreateInfo()
363 if (!valid_type(binding_info.descriptorType)) { in ValidateDescriptorSetLayoutCreateInfo()
365 … (binding_info.descriptorType == VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT) in ValidateDescriptorSetLayoutCreateInfo()
369 string_VkDescriptorType(binding_info.descriptorType), i); in ValidateDescriptorSetLayoutCreateInfo()
372 if (binding_info.descriptorType == VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT) { in ValidateDescriptorSetLayoutCreateInfo()
380 if ((binding_info.descriptorCount % 4) != 0) { in ValidateDescriptorSetLayoutCreateInfo()
383 … "descriptorCount =(%" PRIu32 ") must be a multiple of 4", binding_info.descriptorCount); in ValidateDescriptorSetLayoutCreateInfo()
385 … if (binding_info.descriptorCount > inline_uniform_block_props->maxInlineUniformBlockSize) { in ValidateDescriptorSetLayoutCreateInfo()
389 binding_info.descriptorCount); in ValidateDescriptorSetLayoutCreateInfo()
394 total_descriptors += binding_info.descriptorCount; in ValidateDescriptorSetLayoutCreateInfo()
408 const auto &binding_info = create_info->pBindings[i]; in ValidateDescriptorSetLayoutCreateInfo() local
417 if (binding_info.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER && in ValidateDescriptorSetLayoutCreateInfo()
424 if ((binding_info.descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || in ValidateDescriptorSetLayoutCreateInfo()
425 binding_info.descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER || in ValidateDescriptorSetLayoutCreateInfo()
426 binding_info.descriptorType == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE) && in ValidateDescriptorSetLayoutCreateInfo()
433 if (binding_info.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE && in ValidateDescriptorSetLayoutCreateInfo()
440 if (binding_info.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER && in ValidateDescriptorSetLayoutCreateInfo()
447 if (binding_info.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER && in ValidateDescriptorSetLayoutCreateInfo()
454 if (binding_info.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER && in ValidateDescriptorSetLayoutCreateInfo()
461 if ((binding_info.descriptorType == VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT || in ValidateDescriptorSetLayoutCreateInfo()
462 binding_info.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC || in ValidateDescriptorSetLayoutCreateInfo()
463binding_info.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC)) { in ValidateDescriptorSetLayoutCreateInfo()
469 … if (binding_info.descriptorType == VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT && in ValidateDescriptorSetLayoutCreateInfo()
499 if (binding_info.binding != max_binding) { in ValidateDescriptorSetLayoutCreateInfo()
511 if ((binding_info.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC || in ValidateDescriptorSetLayoutCreateInfo()
512binding_info.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC)) { in ValidateDescriptorSetLayoutCreateInfo()