/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkBuilderUtil.hpp | 39 DescriptorSetLayoutBuilder& addBinding (VkDescriptorType descriptorType, 44 DescriptorSetLayoutBuilder& addIndexedBinding (VkDescriptorType descriptorType, 54 inline DescriptorSetLayoutBuilder& addSingleBinding (VkDescriptorType descriptorType, in addSingleBinding() argument 57 return addBinding(descriptorType, 1u, stageFlags, (VkSampler*)DE_NULL); in addSingleBinding() 59 inline DescriptorSetLayoutBuilder& addSingleIndexedBinding (VkDescriptorType descriptorType, in addSingleIndexedBinding() argument 63 return addIndexedBinding(descriptorType, 1u, stageFlags, dstBinding, (VkSampler*)DE_NULL); in addSingleIndexedBinding() 65 inline DescriptorSetLayoutBuilder& addArrayBinding (VkDescriptorType descriptorType, in addArrayBinding() argument 69 return addBinding(descriptorType, descriptorCount, stageFlags, (VkSampler*)DE_NULL); in addArrayBinding() 71 inline DescriptorSetLayoutBuilder& addSingleSamplerBinding (VkDescriptorType descriptorType, in addSingleSamplerBinding() argument 77 return addBinding(descriptorType, 1u, stageFlags, immutableSampler); in addSingleSamplerBinding() [all …]
|
D | vkBuilderUtil.cpp | 37 DescriptorSetLayoutBuilder& DescriptorSetLayoutBuilder::addBinding (VkDescriptorType descriptorType, in addBinding() argument 60 descriptorType, // descriptorType in addBinding() 69 …rSetLayoutBuilder& DescriptorSetLayoutBuilder::addIndexedBinding (VkDescriptorType descriptorType, in addIndexedBinding() argument 93 descriptorType, // descriptorType in addIndexedBinding() 200 VkDescriptorType descriptorType, in write() argument 215 descriptorType, //!< descriptorType in write()
|
/external/swiftshader/src/Vulkan/ |
D | VkDescriptorSetLayout.cpp | 33 return (((binding.descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) || in UsesImmutableSamplers() 34 (binding.descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER)) && in UsesImmutableSamplers() 55 bindings[i].descriptorType = VK_DESCRIPTOR_TYPE_SAMPLER; in DescriptorSetLayout() 65 dstBinding.descriptorType = srcBinding.descriptorType; in DescriptorSetLayout() 85 offset += bindings[i].descriptorCount * GetDescriptorSize(bindings[i].descriptorType); in DescriptorSetLayout() 155 size += bindings[i].descriptorCount * GetDescriptorSize(bindings[i].descriptorType); in getDescriptorSetDataSize() 171 size_t descriptorSize = GetDescriptorSize(bindings[i].descriptorType); in initialize() 206 if(IsDescriptorDynamic(bindings[i].descriptorType)) in getDynamicDescriptorCount() 218 ASSERT(IsDescriptorDynamic(bindings[bindingNumber].descriptorType)); in getDynamicOffsetIndex() 223 if(IsDescriptorDynamic(bindings[i].descriptorType)) in getDynamicOffsetIndex() [all …]
|
D | VkPipelineLayout.cpp | 44 descriptorSets[i].bindings[j].descriptorType = setLayout->getDescriptorType(j); in PipelineLayout() 49 if(DescriptorSetLayout::IsDescriptorDynamic(descriptorSets[i].bindings[j].descriptorType)) in PipelineLayout() 121 return descriptorSets[setNumber].bindings[bindingNumber].descriptorType; in getDescriptorType()
|
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessExtsTests.cpp | 168 int/*VkDescriptorType*/ descriptorType; member 287 static bool supportsStores(int descriptorType) in supportsStores() argument 289 switch (descriptorType) in supportsStores() 369 switch (m_data.descriptorType) in checkSupport() 407 switch (m_data.descriptorType) in checkSupport() 446 if ((m_data.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE) && in checkSupport() 454 …if ((m_data.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER || m_data.descriptorType == … in checkSupport() 466 int numBindings = caseDef.descriptorType != VERTEX_ATTRIBUTE_FETCH ? 2 : 1; in generateLayout() 479 binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in generateLayout() 480 else if (caseDef.descriptorType != VERTEX_ATTRIBUTE_FETCH) in generateLayout() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmImageSamplerTests.cpp | 90 bool isValidTestCase (TestType testType, DescriptorType descriptorType, ReadOp readOp) in isValidTestCase() argument 96 if (descriptorType != DESCRIPTOR_TYPE_STORAGE_IMAGE && in isValidTestCase() 97 descriptorType != DESCRIPTOR_TYPE_SAMPLED_IMAGE && in isValidTestCase() 98 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_VARIABLES && in isValidTestCase() 99 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_DESCRIPTORS) in isValidTestCase() 104 if (descriptorType != DESCRIPTOR_TYPE_SAMPLED_IMAGE && in isValidTestCase() 105 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_VARIABLES && in isValidTestCase() 106 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_DESCRIPTORS) in isValidTestCase() 111 if (descriptorType != DESCRIPTOR_TYPE_SAMPLED_IMAGE && in isValidTestCase() 112 descriptorType != DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER_SEPARATE_VARIABLES && in isValidTestCase() [all …]
|
D | vktSpvAsmUtils.hpp | 151 , descriptorType(descriptorType_) in Resource() 160 virtual void setDescriptorType (vk::VkDescriptorType type) { descriptorType = type; } in setDescriptorType() 161 virtual vk::VkDescriptorType getDescriptorType () const { return descriptorType; } in getDescriptorType() 168 vk::VkDescriptorType descriptorType; member in vkt::SpirVAssembly::Resource
|
/external/deqp/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingShaderAccessTests.cpp | 402 …eUint32 arrayElement, deUint32 descriptorCount, vk::VkDescriptorType descriptorType, size_t offset… in createTemplateBinding() argument 409 descriptorType, in createTemplateBinding() 1135 vk::VkDescriptorType descriptorType, 1154 vk::VkDescriptorType descriptorType, 1164 vk::VkDescriptorType descriptorType, 1172 vk::VkDescriptorType descriptorType, 1178 vk::VkDescriptorType descriptorType, 1193 vk::VkDescriptorType descriptorType, 1206 vk::VkDescriptorType descriptorType, 1222 vk::VkDescriptorType descriptorType, [all …]
|
D | vktBindingDescriptorSetRandomTests.cpp | 492 binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in generateRandomLayout() 503 binding.descriptorType = VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_KHR; in generateRandomLayout() 537 binding.descriptorType = intToType[r]; in generateRandomLayout() 538 switch (binding.descriptorType) in generateRandomLayout() 556 chooseWritesRandomly(binding.descriptorType, randomLayout, rnd, s, b, binding.descriptorCount); in generateRandomLayout() 566 chooseWritesRandomly(binding.descriptorType, randomLayout, rnd, s, b, binding.descriptorCount); in generateRandomLayout() 576 chooseWritesRandomly(binding.descriptorType, randomLayout, rnd, s, b, binding.descriptorCount); in generateRandomLayout() 602 binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in generateRandomLayout() 626 chooseWritesRandomly(binding.descriptorType, randomLayout, rnd, s, b, binding.descriptorCount); in generateRandomLayout() 639 …binding.stageFlags = ((binding.descriptorType == VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT) ? (VkFlags)(… in generateRandomLayout() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiDescriptorPoolTests.cpp | 198 for (VkDescriptorType descriptorType = VK_DESCRIPTOR_TYPE_SAMPLER; in outOfPoolMemoryTest() local 199 descriptorType < VK_DESCRIPTOR_TYPE_LAST; in outOfPoolMemoryTest() 200 descriptorType = static_cast<VkDescriptorType>(descriptorType + 1)) in outOfPoolMemoryTest() 202 …).getLog() << tcu::TestLog::Message << "- " << getDescriptorTypeName(descriptorType) << tcu::TestL… in outOfPoolMemoryTest() 206 descriptorType, // type in outOfPoolMemoryTest() 225 descriptorType, // VkDescriptorType descriptorType; in outOfPoolMemoryTest()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelinePushDescriptorTests.cpp | 74 VkDescriptorType descriptorType; member 368 m_params.descriptorType, // VkDescriptorType descriptorType; in init() 404 …const VkBufferUsageFlags usageFlags = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFF… in init() 547 m_params.descriptorType, // VkDescriptorType descriptorType; in init() 651 …const string bufferType = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER ? "uniform"… in initPrograms() 747 m_params.descriptorType, // VkDescriptorType descriptorType; in init() 807 …const VkBufferUsageFlags usageFlags = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFF… in init() 917 m_params.descriptorType, // VkDescriptorType descriptorType; in init() 1007 …const string bufferType = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER ? "uniform"… in initPrograms() 1150 …rams.descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || m_params.descriptorType == VK_DESCRIPTOR_TYPE… in init() [all …]
|
D | vktPipelineDynamicOffsetTests.cpp | 76 VkDescriptorType descriptorType; member 187 …const VkDeviceSize alignment = ((m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFF… in init() 192 …const VkDescriptorType nonDynamicDescriptorType = m_params.descriptorType == VK_DESCRIPTOR_TYPE_… in init() 341 …const VkDescriptorType descriptorType = (dynamicDesc ? m_params.descriptorType : nonDynami… in init() local 347 descriptorType, // VkDescriptorType descriptorType; in init() 417 …const VkBufferUsageFlags usageFlags = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFF… in init() 442 poolBuilder.addType(m_params.descriptorType, m_params.numDynamicBindings); in init() 471 …const VkDescriptorType descriptorType = (dynamicDesc ? m_params.descriptorType : nonDynamicDes… in init() local 510 descriptorType, // VkDescriptorType descriptorType; in init() 751 …const string bufferType = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC ? … in initPrograms() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/descriptor_indexing/ |
D | vktDescriptorSetsIndexingTests.cpp | 119 VkDescriptorType descriptorType; // used only to distinguish test class instance member 133 VkDescriptorType descriptorType; member 156 , descriptorType (descriptorType_) in TestParams() 226 deUint32 computeAvailableDescriptorCount (VkDescriptorType descriptorType, 269 static bool performWritesInVertex (VkDescriptorType descriptorType); 271 static bool performWritesInVertex (VkDescriptorType descriptorType, 282 static std::string getColorAccess (VkDescriptorType descriptorType, 484 descriptorPool = DescriptorPoolBuilder().addType(binding.descriptorType) in init() 541 …32 CommonDescriptorInstance::computeAvailableDescriptorCount (VkDescriptorType descriptorType, in computeAvailableDescriptorCount() argument 544 DE_UNREF(descriptorType); in computeAvailableDescriptorCount() [all …]
|
D | vktDescriptorSetsIndexingTestsUtils.cpp | 75 VkDescriptorType descriptorType, in buildShaderName() argument 96 m["DESC"] = de::toString(deUint32(descriptorType)); in buildShaderName() 652 bool isDynamicDescriptor (VkDescriptorType descriptorType) in isDynamicDescriptor() argument 654 …return descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC || descriptorType == VK_DESCRIP… in isDynamicDescriptor() 692 deUint32 DeviceProperties::computeMaxPerStageDescriptorCount (VkDescriptorType descriptorType, in computeMaxPerStageDescriptorCount() argument 748 switch (descriptorType) in computeMaxPerStageDescriptorCount()
|
/external/vulkan-validation-layers/layers/ |
D | descriptor_sets.cpp | 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() 110 } else if ((binding_info.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) || in DescriptorSetLayoutDef() 111 (binding_info.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)) { in DescriptorSetLayoutDef() 167 if (index < bindings_.size()) return bindings_[index].descriptorType; in GetTypeFromIndex() 263 … } else if (binding.descriptorType != rh_ds_layout_def->GetTypeFromBinding(binding.binding)) { in VerifySetLayoutCompatibility() 266 … << string_VkDescriptorType(binding.descriptorType) << "' but binding " << binding.binding in VerifySetLayoutCompatibility() 293 auto type = bindings_[bi_itr->second].descriptorType; in IsNextBindingConsistent() 297 if ((type != bindings_[next_bi_itr->second].descriptorType) || in IsNextBindingConsistent() 363 if (!valid_type(binding_info.descriptorType)) { in ValidateDescriptorSetLayoutCreateInfo() [all …]
|
D | hash_vk_types.h | 33 if ((lhs.binding != rhs.binding) || (lhs.descriptorType != rhs.descriptorType) || 53 hc << value.binding << value.descriptorType << value.descriptorCount << value.stageFlags;
|
D | object_tracker_utils.cpp | 155 if ((desc->descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER) || in ValidateDescriptorWrite() 156 (desc->descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER)) { in ValidateDescriptorWrite() 163 if ((desc->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) || in ValidateDescriptorWrite() 164 …(desc->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE) || (desc->descriptorType == VK_DESCRIPT… in ValidateDescriptorWrite() 165 (desc->descriptorType == VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT)) { in ValidateDescriptorWrite() 172 if ((desc->descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER) || in ValidateDescriptorWrite() 173 (desc->descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER) || in ValidateDescriptorWrite() 174 (desc->descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC) || in ValidateDescriptorWrite() 175 (desc->descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC)) { in ValidateDescriptorWrite() 489 const bool is_sampler_type = binding.descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || in PreCallValidateCreateDescriptorSetLayout() [all …]
|
/external/llvm-project/mlir/tools/mlir-vulkan-runner/ |
D | VulkanRuntime.cpp | 66 SPIRVStorageClass storageClass, VkDescriptorType &descriptorType) { in mapStorageClassToDescriptorType() argument 69 descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in mapStorageClassToDescriptorType() 72 descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER; in mapStorageClassToDescriptorType() 385 VkDescriptorType descriptorType = {}; in createMemoryBuffers() local 411 descriptorType)) || in createMemoryBuffers() 422 memoryBuffer.descriptorType = descriptorType; in createMemoryBuffers() 574 descriptorSetLayoutBinding.descriptorType = memBuffer.descriptorType; in initDescriptorSetLayoutBindingMap() 590 VkDescriptorType descriptorType = in createDescriptorSetLayout() local 591 deviceMemoryBuffers.front().descriptorType; in createDescriptorSetLayout() 624 {descriptorSetIndex, descriptorSize, descriptorType}); in createDescriptorSetLayout() [all …]
|
D | VulkanRuntime.h | 30 VkDescriptorType descriptorType{VK_DESCRIPTOR_TYPE_MAX_ENUM}; 62 VkDescriptorType descriptorType{VK_DESCRIPTOR_TYPE_MAX_ENUM}; 154 VkDescriptorType &descriptorType);
|
/external/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_descriptor_set.c | 73 set_layout->binding[b].type = binding->descriptorType; in lvp_CreateDescriptorSetLayout() 85 if (binding->descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC || in lvp_CreateDescriptorSetLayout() 86 binding->descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC) { in lvp_CreateDescriptorSetLayout() 90 switch (binding->descriptorType) { in lvp_CreateDescriptorSetLayout() 102 switch (binding->descriptorType) { in lvp_CreateDescriptorSetLayout() 334 switch (write->descriptorType) { in lvp_UpdateDescriptorSets() 373 .type = write->descriptorType, in lvp_UpdateDescriptorSets() 386 .type = write->descriptorType, in lvp_UpdateDescriptorSets() 401 .type = write->descriptorType, in lvp_UpdateDescriptorSets()
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_descriptor_set.c | 126 if ((pCreateInfo->pBindings[j].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER || in tu_CreateDescriptorSetLayout() 127 pCreateInfo->pBindings[j].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) && in tu_CreateDescriptorSetLayout() 182 set_layout->binding[b].type = binding->descriptorType; in tu_CreateDescriptorSetLayout() 186 set_layout->binding[b].size = descriptor_size(binding->descriptorType); in tu_CreateDescriptorSetLayout() 199 if ((binding->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER || in tu_CreateDescriptorSetLayout() 200 binding->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) && in tu_CreateDescriptorSetLayout() 235 if (binding->descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC || in tu_CreateDescriptorSetLayout() 236 binding->descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC) { in tu_CreateDescriptorSetLayout() 237 if (binding->descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC) { in tu_CreateDescriptorSetLayout() 302 uint64_t descriptor_sz = descriptor_size(binding->descriptorType); in tu_GetDescriptorSetLayoutSupport() [all …]
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_descriptor_set.c | 90 if ((pCreateInfo->pBindings[j].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER || in radv_CreateDescriptorSetLayout() 91 pCreateInfo->pBindings[j].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) && in radv_CreateDescriptorSetLayout() 170 if (binding->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER && in radv_CreateDescriptorSetLayout() 184 switch (binding->descriptorType) { in radv_CreateDescriptorSetLayout() 230 set_layout->binding[b].type = binding->descriptorType; in radv_CreateDescriptorSetLayout() 244 if ((binding->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER || in radv_CreateDescriptorSetLayout() 245 binding->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) && in radv_CreateDescriptorSetLayout() 258 if (binding->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER && in radv_CreateDescriptorSetLayout() 261 else if (binding->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) in radv_CreateDescriptorSetLayout() 338 switch (binding->descriptorType) { in radv_GetDescriptorSetLayoutSupport() [all …]
|
D | radv_meta_bufimage.c | 152 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in radv_device_init_meta_itob_state() 159 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, in radv_device_init_meta_itob_state() 377 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, in radv_device_init_meta_btoi_state() 384 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, in radv_device_init_meta_btoi_state() 615 .descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, in radv_device_init_meta_btoi_r32g32b32_state() 622 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, in radv_device_init_meta_btoi_r32g32b32_state() 801 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in radv_device_init_meta_itoi_state() 808 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, in radv_device_init_meta_itoi_state() 1047 .descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, in radv_device_init_meta_itoi_r32g32b32_state() 1054 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, in radv_device_init_meta_itoi_r32g32b32_state() [all …]
|
/external/angle/third_party/vulkan_memory_allocator/src/ |
D | SparseBindingTest.cpp | 299 bindings[0].descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER; in ValidateContent() 304 bindings[1].descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER; in ValidateContent() 343 poolSizes[0].type = bindings[0].descriptorType; in ValidateContent() 345 poolSizes[1].type = bindings[1].descriptorType; in ValidateContent() 390 descWrites[0].descriptorType = bindings[0].descriptorType; in ValidateContent() 397 descWrites[1].descriptorType = bindings[1].descriptorType; in ValidateContent()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_descriptor_set.c | 613 VkDescriptorType desc_type = pCreateInfo->pBindings[j].descriptorType; in v3dv_CreateDescriptorSetLayout() 662 switch (binding->descriptorType) { in v3dv_CreateDescriptorSetLayout() 684 set_layout->binding[binding_number].type = binding->descriptorType; in v3dv_CreateDescriptorSetLayout() 689 if ((binding->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER || in v3dv_CreateDescriptorSetLayout() 690 binding->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) && in v3dv_CreateDescriptorSetLayout() 993 descriptor->type = writeset->descriptorType; in v3dv_UpdateDescriptorSets() 995 switch(writeset->descriptorType) { in v3dv_UpdateDescriptorSets() 1024 write_image_descriptor(writeset->descriptorType, in v3dv_UpdateDescriptorSets() 1038 write_image_descriptor(writeset->descriptorType, in v3dv_UpdateDescriptorSets() 1052 write_image_descriptor(writeset->descriptorType, in v3dv_UpdateDescriptorSets() [all …]
|