/third_party/vk-gl-cts/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()
|
/third_party/skia/third_party/externals/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() 185 switch(bindings[i].descriptorType) in initialize() 215 UNSUPPORTED("Unsupported Descriptor Type: %d", int(bindings[i].descriptorType)); in initialize() 238 if(IsDescriptorDynamic(bindings[i].descriptorType)) in getDynamicDescriptorCount() [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()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessExtsTests.cpp | 168 int/*VkDescriptorType*/ descriptorType; member 288 static bool supportsStores(int descriptorType) in supportsStores() argument 290 switch (descriptorType) in supportsStores() 370 switch (m_data.descriptorType) in checkSupport() 411 switch (m_data.descriptorType) in checkSupport() 450 if ((m_data.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_IMAGE) && in checkSupport() 458 …if ((m_data.descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER || m_data.descriptorType == … in checkSupport() 481 int numBindings = caseDef.descriptorType != VERTEX_ATTRIBUTE_FETCH ? 2 : 1; in generateLayout() 494 binding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; in generateLayout() 495 else if (caseDef.descriptorType != VERTEX_ATTRIBUTE_FETCH) in generateLayout() [all …]
|
/third_party/vk-gl-cts/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
|
/third_party/vk-gl-cts/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() 222 …VkShaderStageFlags stageFlags = (descriptorType != VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT) ? VK_SHADE… in outOfPoolMemoryTest() 226 descriptorType, // VkDescriptorType descriptorType; in outOfPoolMemoryTest()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingShaderAccessTests.cpp | 397 …eUint32 arrayElement, deUint32 descriptorCount, vk::VkDescriptorType descriptorType, size_t offset… in createTemplateBinding() argument 404 descriptorType, in createTemplateBinding() 1130 vk::VkDescriptorType descriptorType, 1149 vk::VkDescriptorType descriptorType, 1159 vk::VkDescriptorType descriptorType, 1167 vk::VkDescriptorType descriptorType, 1173 vk::VkDescriptorType descriptorType, 1188 vk::VkDescriptorType descriptorType, 1201 vk::VkDescriptorType descriptorType, 1217 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 …]
|
D | vktBindingValveMutableTests.cpp | 160 DescriptorTypeFlagBits toDescriptorTypeFlagBit (VkDescriptorType descriptorType) in toDescriptorTypeFlagBit() argument 162 switch (descriptorType) in toDescriptorTypeFlagBit() 290 ResourceType toResourceType (VkDescriptorType descriptorType) in toResourceType() argument 293 switch (descriptorType) in toResourceType() 331 bool isShaderWritable (VkDescriptorType descriptorType) in isShaderWritable() argument 333 …return (descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER || descriptorType == VK_DESCRIPTOR_TYP… in isShaderWritable() 334 descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER); in isShaderWritable() 513 VkDescriptorType descriptorType; member 524 : descriptorType (descriptorType_) in Resource() 525 , resourceType (toResourceType(descriptorType)) in Resource() [all …]
|
/third_party/vk-gl-cts/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 …]
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_descriptor_set.c | 54 VkDescriptorType desc_type = pCreateInfo->pBindings[j].descriptorType; in lvp_CreateDescriptorSetLayout() 99 set_layout->binding[b].type = binding->descriptorType; in lvp_CreateDescriptorSetLayout() 111 if (binding->descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC || in lvp_CreateDescriptorSetLayout() 112 binding->descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC) { in lvp_CreateDescriptorSetLayout() 116 switch (binding->descriptorType) { in lvp_CreateDescriptorSetLayout() 136 switch (binding->descriptorType) { in lvp_CreateDescriptorSetLayout() 374 switch (write->descriptorType) { in lvp_UpdateDescriptorSets() 417 .type = write->descriptorType, in lvp_UpdateDescriptorSets() 430 .type = write->descriptorType, in lvp_UpdateDescriptorSets() 445 .type = write->descriptorType, in lvp_UpdateDescriptorSets() [all …]
|
/third_party/vk-gl-cts/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()
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_descriptor_set.c | 117 binding->type = binding_info->descriptorType; in vn_descriptor_set_layout_init() 120 switch (binding_info->descriptorType) { in vn_descriptor_set_layout_init() 166 switch (binding->descriptorType) { in vn_CreateDescriptorSetLayout() 575 switch (write->descriptorType) { in vn_update_descriptor_sets_parse_writes() 610 switch (write->descriptorType) { in vn_update_descriptor_sets_parse_writes() 621 switch (write->descriptorType) { in vn_update_descriptor_sets_parse_writes() 707 switch (entry->descriptorType) { in vn_update_descriptor_sets_parse_template() 750 write->descriptorType = entry->descriptorType; in vn_update_descriptor_sets_parse_template() 755 switch (entry->descriptorType) { in vn_update_descriptor_sets_parse_template() 878 switch (write->descriptorType) { in vn_UpdateDescriptorSetWithTemplate() [all …]
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_descriptor_set.c | 235 assert(pDescriptorWrite->descriptorType == binding_layout->type); in panvk_per_arch() 241 switch (pDescriptorWrite->descriptorType) { in panvk_per_arch() 248 if ((pDescriptorWrite->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || in panvk_per_arch() 249 pDescriptorWrite->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) && in panvk_per_arch() 256 if (pDescriptorWrite->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE || in panvk_per_arch() 257 pDescriptorWrite->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) { in panvk_per_arch()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_descriptor_set.c | 127 if ((pCreateInfo->pBindings[j].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER || in tu_CreateDescriptorSetLayout() 128 pCreateInfo->pBindings[j].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) && in tu_CreateDescriptorSetLayout() 184 set_layout->binding[b].type = binding->descriptorType; in tu_CreateDescriptorSetLayout() 190 if (binding->descriptorType == VK_DESCRIPTOR_TYPE_MUTABLE_VALVE) { in tu_CreateDescriptorSetLayout() 197 set_layout->binding[b].size = descriptor_size(binding->descriptorType); in tu_CreateDescriptorSetLayout() 210 if ((binding->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER || in tu_CreateDescriptorSetLayout() 211 binding->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) && in tu_CreateDescriptorSetLayout() 246 if (binding->descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC || in tu_CreateDescriptorSetLayout() 247 binding->descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC) { in tu_CreateDescriptorSetLayout() 248 if (binding->descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC) { in tu_CreateDescriptorSetLayout() [all …]
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_descriptor_set.c | 109 if ((pCreateInfo->pBindings[j].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER || in radv_CreateDescriptorSetLayout() 110 pCreateInfo->pBindings[j].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) && in radv_CreateDescriptorSetLayout() 192 if (binding->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER && in radv_CreateDescriptorSetLayout() 206 switch (binding->descriptorType) { in radv_CreateDescriptorSetLayout() 270 set_layout->binding[b].type = binding->descriptorType; in radv_CreateDescriptorSetLayout() 286 if ((binding->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER || in radv_CreateDescriptorSetLayout() 287 binding->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) && in radv_CreateDescriptorSetLayout() 300 if (binding->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER && in radv_CreateDescriptorSetLayout() 303 else if (binding->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) in radv_CreateDescriptorSetLayout() 383 switch (binding->descriptorType) { in radv_GetDescriptorSetLayoutSupport() [all …]
|
D | radv_meta_bufimage.c | 116 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in radv_device_init_meta_itob_state() 121 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, in radv_device_init_meta_itob_state() 299 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, in radv_device_init_meta_btoi_state() 304 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, in radv_device_init_meta_btoi_state() 478 .descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, in radv_device_init_meta_btoi_r32g32b32_state() 483 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, in radv_device_init_meta_btoi_r32g32b32_state() 666 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in radv_device_init_meta_itoi_state() 671 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, in radv_device_init_meta_itoi_state() 839 .descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, in radv_device_init_meta_itoi_r32g32b32_state() 844 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, in radv_device_init_meta_itoi_r32g32b32_state() [all …]
|
D | radv_meta_fmask_expand.c | 138 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in radv_expand_fmask_image_inplace() 149 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, in radv_expand_fmask_image_inplace() 229 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in radv_device_init_meta_fmask_expand_state() 234 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, in radv_device_init_meta_fmask_expand_state()
|
D | radv_meta_copy_vrs_htile.c | 157 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in radv_device_init_meta_copy_vrs_htile_state() 162 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in radv_device_init_meta_copy_vrs_htile_state() 268 .descriptorType = VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, in radv_copy_vrs_htile() 281 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in radv_copy_vrs_htile()
|
D | radv_meta_buffer.c | 67 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in radv_device_init_meta_buffer_state() 85 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in radv_device_init_meta_buffer_state() 90 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in radv_device_init_meta_buffer_state() 225 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in fill_buffer_shader() 269 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in copy_buffer_shader() 277 .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, in copy_buffer_shader()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_descriptor_set.c | 569 VkDescriptorType desc_type = pCreateInfo->pBindings[j].descriptorType; in v3dv_CreateDescriptorSetLayout() 616 switch (binding->descriptorType) { in v3dv_CreateDescriptorSetLayout() 638 set_layout->binding[binding_number].type = binding->descriptorType; in v3dv_CreateDescriptorSetLayout() 643 if ((binding->descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER || in v3dv_CreateDescriptorSetLayout() 644 binding->descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) && in v3dv_CreateDescriptorSetLayout() 984 switch(writeset->descriptorType) { in v3dv_UpdateDescriptorSets() 991 write_buffer_descriptor(descriptor, writeset->descriptorType, in v3dv_UpdateDescriptorSets() 1002 write_image_descriptor(device, descriptor, writeset->descriptorType, in v3dv_UpdateDescriptorSets() 1013 write_image_descriptor(device, descriptor, writeset->descriptorType, in v3dv_UpdateDescriptorSets() 1023 write_image_descriptor(device, descriptor, writeset->descriptorType, in v3dv_UpdateDescriptorSets() [all …]
|