/third_party/vk-gl-cts/external/vulkancts/vkscserver/ |
D | vksCacheBuilder.cpp | 203 if (it2->second.pBindings[j].pImmutableSamplers != DE_NULL) in exportFilesForExternalCompiler() 205 for (deUint32 k = 0; k < it2->second.pBindings[j].descriptorCount; ++k) in exportFilesForExternalCompiler() 207 auto it3 = allSamplers.find(it2->second.pBindings[j].pImmutableSamplers[k]); in exportFilesForExternalCompiler() 312 if (it2->second.pBindings[j].pImmutableSamplers != DE_NULL) in exportFilesForExternalCompiler() 314 for (deUint32 k = 0; k < it2->second.pBindings[j].descriptorCount; ++k) in exportFilesForExternalCompiler() 316 auto it3 = allSamplers.find(it2->second.pBindings[j].pImmutableSamplers[k]); in exportFilesForExternalCompiler() 636 …max(chainedObjReservation->descriptorSetLayoutBindingLimit, dsCI.second.pBindings[i].binding + 1u); in buildPipelineCache() 767 if (dsCI.second.pBindings[i].pImmutableSamplers != DE_NULL) in buildPipelineCache() 775 if (dsCI.second.pBindings[i].pImmutableSamplers == DE_NULL) in buildPipelineCache() 777 newDescriptorBindings.push_back(dsCI.second.pBindings[i]); in buildPipelineCache() [all …]
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_descriptor_set.c | 116 num_bindings = MAX2(num_bindings, pCreateInfo->pBindings[j].binding + 1); in tu_CreateDescriptorSetLayout() 117 if ((pCreateInfo->pBindings[j].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER || in tu_CreateDescriptorSetLayout() 118 pCreateInfo->pBindings[j].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) && in tu_CreateDescriptorSetLayout() 119 pCreateInfo->pBindings[j].pImmutableSamplers) { in tu_CreateDescriptorSetLayout() 120 immutable_sampler_count += pCreateInfo->pBindings[j].descriptorCount; in tu_CreateDescriptorSetLayout() 123 for (unsigned i = 0; i < pCreateInfo->pBindings[j].descriptorCount; ++i) { in tu_CreateDescriptorSetLayout() 124 … if (tu_sampler_from_handle(pCreateInfo->pBindings[j].pImmutableSamplers[i])->ycbcr_sampler) in tu_CreateDescriptorSetLayout() 129 ycbcr_sampler_count += pCreateInfo->pBindings[j].descriptorCount; in tu_CreateDescriptorSetLayout() 156 pCreateInfo->pBindings, pCreateInfo->bindingCount, &bindings); in tu_CreateDescriptorSetLayout() 213 for (unsigned i = 0; i < pCreateInfo->pBindings[j].descriptorCount; ++i) { in tu_CreateDescriptorSetLayout() [all …]
|
/third_party/skia/src/gpu/vk/ |
D | GrVkDescriptorSetManager.cpp | 102 dsSamplerLayoutCreateInfo.pBindings = numBindings ? dsSamplerBindings.get() : nullptr; in get_layout_and_desc_count() 133 uniformLayoutCreateInfo.pBindings = &dsUniBinding; in get_layout_and_desc_count() 168 inputLayoutCreateInfo.pBindings = &dsInpuBinding; in get_layout_and_desc_count()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkDescriptorSetLayout.cpp | 46 bindingsArraySize = std::max(bindingsArraySize, pCreateInfo->pBindings[i].binding + 1); in DescriptorSetLayout() 62 const auto &srcBinding = pCreateInfo->pBindings[i]; in DescriptorSetLayout() 102 bindingsArraySize = std::max(bindingsArraySize, pCreateInfo->pBindings[i].binding + 1); in ComputeRequiredAllocationSize() 104 if(UsesImmutableSamplers(pCreateInfo->pBindings[i])) in ComputeRequiredAllocationSize() 106 immutableSamplerCount += pCreateInfo->pBindings[i].descriptorCount; in ComputeRequiredAllocationSize()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkPlatform.cpp | 234 …rceInterface->getStatMax().descriptorSetLayoutBindingLimit, pCreateInfo->pBindings[i].binding + 1); in createDescriptorSetLayoutHandlerStat() 235 …if( ( pCreateInfo->pBindings[i].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER || pCreateInfo->pBind… in createDescriptorSetLayoutHandlerStat() 236 && pCreateInfo->pBindings[i].pImmutableSamplers != DE_NULL ) in createDescriptorSetLayoutHandlerStat() 237 immutableSamplersCount += pCreateInfo->pBindings[i].descriptorCount; in createDescriptorSetLayoutHandlerStat() 702 …rceInterface->getStatMax().descriptorSetLayoutBindingLimit, pCreateInfo->pBindings[i].binding + 1); in getDescriptorSetLayoutSupportHandler()
|
D | vkSafetyCriticalUtil.cpp | 588 if (sCI.pBindings != DE_NULL) in calculateDescriptorSetLayoutHash() 592 …mbine(seed, sCI.pBindings[i].binding, deUint32(sCI.pBindings[i].descriptorType), sCI.pBindings[i].… in calculateDescriptorSetLayoutHash() 593 if (sCI.pBindings[i].pImmutableSamplers != DE_NULL) in calculateDescriptorSetLayoutHash() 595 for (deUint32 j = 0; j < sCI.pBindings[i].descriptorCount; ++j) in calculateDescriptorSetLayoutHash() 597 auto it = objectHashes.find(sCI.pBindings[i].pImmutableSamplers[j].getInternal()); in calculateDescriptorSetLayoutHash()
|
D | vkResourceInterface.cpp | 203 if (dsCI.pBindings[i].pImmutableSamplers == NULL) in removeRedundantObjects() 205 for (deUint32 j = 0; j < dsCI.pBindings[i].descriptorCount; ++j) in removeRedundantObjects() 207 if (dsCI.pBindings[i].pImmutableSamplers[j] == DE_NULL) in removeRedundantObjects() 209 samplersInPipeline.insert(dsCI.pBindings[i].pImmutableSamplers[j]); in removeRedundantObjects()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_descriptor_set.c | 128 num_bindings = MAX2(num_bindings, pCreateInfo->pBindings[j].binding + 1); in radv_CreateDescriptorSetLayout() 129 if ((pCreateInfo->pBindings[j].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER || in radv_CreateDescriptorSetLayout() 130 pCreateInfo->pBindings[j].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) && in radv_CreateDescriptorSetLayout() 131 pCreateInfo->pBindings[j].pImmutableSamplers) { in radv_CreateDescriptorSetLayout() 132 immutable_sampler_count += pCreateInfo->pBindings[j].descriptorCount; in radv_CreateDescriptorSetLayout() 135 for (unsigned i = 0; i < pCreateInfo->pBindings[j].descriptorCount; ++i) { in radv_CreateDescriptorSetLayout() 136 if (radv_sampler_from_handle(pCreateInfo->pBindings[j].pImmutableSamplers[i]) in radv_CreateDescriptorSetLayout() 142 ycbcr_sampler_count += pCreateInfo->pBindings[j].descriptorCount; in radv_CreateDescriptorSetLayout() 186 vk_create_sorted_bindings(pCreateInfo->pBindings, pCreateInfo->bindingCount, &bindings); in radv_CreateDescriptorSetLayout() 362 vk_create_sorted_bindings(pCreateInfo->pBindings, pCreateInfo->bindingCount, &bindings); in radv_GetDescriptorSetLayoutSupport()
|
D | radv_meta_bufimage.c | 107 .pBindings = (VkDescriptorSetLayoutBinding[]){ in radv_device_init_meta_itob_state() 285 .pBindings = (VkDescriptorSetLayoutBinding[]){ in radv_device_init_meta_btoi_state() 460 .pBindings = (VkDescriptorSetLayoutBinding[]){ in radv_device_init_meta_btoi_r32g32b32_state() 647 .pBindings = (VkDescriptorSetLayoutBinding[]){ in radv_device_init_meta_itoi_state() 815 .pBindings = (VkDescriptorSetLayoutBinding[]){ in radv_device_init_meta_itoi_r32g32b32_state() 965 .pBindings = (VkDescriptorSetLayoutBinding[]){ in radv_device_init_meta_cleari_state() 1092 .pBindings = (VkDescriptorSetLayoutBinding[]){ in radv_device_init_meta_cleari_r32g32b32_state()
|
D | radv_meta_fmask_expand.c | 226 .pBindings = (VkDescriptorSetLayoutBinding[]){ in radv_device_init_meta_fmask_expand_state()
|
D | radv_meta_copy_vrs_htile.c | 152 .pBindings = (VkDescriptorSetLayoutBinding[]){ in radv_device_init_meta_copy_vrs_htile_state()
|
D | radv_meta_dcc_retile.c | 119 .pBindings = (VkDescriptorSetLayoutBinding[]){ in radv_device_init_meta_dcc_retile_state()
|
D | radv_meta_fmask_copy.c | 181 .pBindings = (VkDescriptorSetLayoutBinding[]){ in radv_device_init_meta_fmask_copy_state()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_descriptor_set.c | 42 num_bindings = MAX2(num_bindings, pCreateInfo->pBindings[j].binding + 1); in lvp_CreateDescriptorSetLayout() 54 VkDescriptorType desc_type = pCreateInfo->pBindings[j].descriptorType; in lvp_CreateDescriptorSetLayout() 57 pCreateInfo->pBindings[j].pImmutableSamplers) in lvp_CreateDescriptorSetLayout() 58 immutable_sampler_count += pCreateInfo->pBindings[j].descriptorCount; in lvp_CreateDescriptorSetLayout() 79 VkResult result = vk_create_sorted_bindings(pCreateInfo->pBindings, in lvp_CreateDescriptorSetLayout()
|
/third_party/mesa3d/src/virtio/venus-protocol/ |
D | vn_protocol_driver_descriptor_set_layout.h | 150 if (val->pBindings) { in vn_sizeof_VkDescriptorSetLayoutCreateInfo_self() 153 size += vn_sizeof_VkDescriptorSetLayoutBinding(&val->pBindings[i]); in vn_sizeof_VkDescriptorSetLayoutCreateInfo_self() 201 if (val->pBindings) { in vn_encode_VkDescriptorSetLayoutCreateInfo_self() 204 vn_encode_VkDescriptorSetLayoutBinding(enc, &val->pBindings[i]); in vn_encode_VkDescriptorSetLayoutCreateInfo_self()
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkDescriptorSetManager.cpp | 228 dsSamplerLayoutCreateInfo.pBindings = numBindings ? dsSamplerBindings.get() : nullptr; in DescriptorPoolManager() 259 uniformLayoutCreateInfo.pBindings = &dsUniBinding; in DescriptorPoolManager()
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_descriptor_set.c | 144 &create_info->pBindings[i]; in vn_descriptor_set_layout_init() 205 sizeof(*pCreateInfo->pBindings) * pCreateInfo->bindingCount; in vn_CreateDescriptorSetLayout() 211 memcpy(local_bindings, pCreateInfo->pBindings, binding_size); in vn_CreateDescriptorSetLayout() 229 local_create_info.pBindings = local_bindings; in vn_CreateDescriptorSetLayout()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_descriptor_set.c | 625 num_bindings = MAX2(num_bindings, pCreateInfo->pBindings[j].binding + 1); in v3dv_CreateDescriptorSetLayout() 638 VkDescriptorType desc_type = pCreateInfo->pBindings[j].descriptorType; in v3dv_CreateDescriptorSetLayout() 641 pCreateInfo->pBindings[j].pImmutableSamplers) { in v3dv_CreateDescriptorSetLayout() 642 immutable_sampler_count += pCreateInfo->pBindings[j].descriptorCount; in v3dv_CreateDescriptorSetLayout() 673 VkResult result = vk_create_sorted_bindings(pCreateInfo->pBindings, in v3dv_CreateDescriptorSetLayout() 1265 pCreateInfo->pBindings, pCreateInfo->bindingCount, &bindings); in v3dv_GetDescriptorSetLayoutSupport()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_descriptor_set.c | 324 const VkDescriptorSetLayoutBinding *binding = &pCreateInfo->pBindings[b]; in anv_GetDescriptorSetLayoutSupport() 422 num_bindings = MAX2(num_bindings, pCreateInfo->pBindings[j].binding + 1); in anv_CreateDescriptorSetLayout() 435 VkDescriptorType desc_type = pCreateInfo->pBindings[j].descriptorType; in anv_CreateDescriptorSetLayout() 438 pCreateInfo->pBindings[j].pImmutableSamplers) in anv_CreateDescriptorSetLayout() 439 immutable_sampler_count += pCreateInfo->pBindings[j].descriptorCount; in anv_CreateDescriptorSetLayout() 479 const VkDescriptorSetLayoutBinding *binding = &pCreateInfo->pBindings[j]; in anv_CreateDescriptorSetLayout() 508 &pCreateInfo->pBindings[info_idx]; in anv_CreateDescriptorSetLayout()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | BindGroupLayoutVk.cpp | 89 createInfo.pBindings = bindings.data(); in BindGroupLayout()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | BindGroupLayoutVk.cpp | 119 createInfo.pBindings = bindings.data(); in Initialize()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_descriptor_set.c | 58 vk_create_sorted_bindings(pCreateInfo->pBindings, in panvk_GetDescriptorSetLayoutSupport()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/ |
D | VK_EXT_mutable_descriptor_type.adoc | 89 …h entry in `pMutableDescriptorTypeLists` corresponds to a binding at the same index in `pBindings`. 217 .pBindings = &cbvSrvUavBinding};
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
D | vktApiMaintenance3Check.cpp | 672 pCreateInfo.pBindings = bindings.data(); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiMaintenance3Check.cpp | 672 pCreateInfo.pBindings = bindings.data(); in iterate()
|