/external/deqp/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 …]
|
/external/virglrenderer/src/venus/venus-protocol/ |
D | vn_protocol_renderer_descriptor_set_layout.h | 166 val->pBindings = vn_cs_decoder_alloc_temp(dec, sizeof(*val->pBindings) * iter_count); in vn_decode_VkDescriptorSetLayoutCreateInfo_self_temp() 167 if (!val->pBindings) return; in vn_decode_VkDescriptorSetLayoutCreateInfo_self_temp() 169 …ecode_VkDescriptorSetLayoutBinding_temp(dec, &((VkDescriptorSetLayoutBinding *)val->pBindings)[i]); in vn_decode_VkDescriptorSetLayoutCreateInfo_self_temp() 172 val->pBindings = NULL; in vn_decode_VkDescriptorSetLayoutCreateInfo_self_temp() 196 if (val->pBindings) { in vn_replace_VkDescriptorSetLayoutCreateInfo_handle_self() 198 …_replace_VkDescriptorSetLayoutBinding_handle(&((VkDescriptorSetLayoutBinding *)val->pBindings)[i]); in vn_replace_VkDescriptorSetLayoutCreateInfo_handle_self()
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_descriptor_set.c | 125 max_binding = MAX2(max_binding, pCreateInfo->pBindings[j].binding); in tu_CreateDescriptorSetLayout() 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() 128 pCreateInfo->pBindings[j].pImmutableSamplers) { in tu_CreateDescriptorSetLayout() 129 immutable_sampler_count += pCreateInfo->pBindings[j].descriptorCount; in tu_CreateDescriptorSetLayout() 132 for (unsigned i = 0; i < pCreateInfo->pBindings[j].descriptorCount; ++i) { in tu_CreateDescriptorSetLayout() 133 … if (tu_sampler_from_handle(pCreateInfo->pBindings[j].pImmutableSamplers[i])->ycbcr_sampler) in tu_CreateDescriptorSetLayout() 138 ycbcr_sampler_count += pCreateInfo->pBindings[j].descriptorCount; in tu_CreateDescriptorSetLayout() 164 pCreateInfo->pBindings, pCreateInfo->bindingCount); in tu_CreateDescriptorSetLayout() 212 for (unsigned i = 0; i < pCreateInfo->pBindings[j].descriptorCount; ++i) { in tu_CreateDescriptorSetLayout() [all …]
|
/external/skia/src/gpu/ganesh/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()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_descriptor_set.c | 89 num_bindings = MAX2(num_bindings, pCreateInfo->pBindings[j].binding + 1); in radv_CreateDescriptorSetLayout() 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() 92 pCreateInfo->pBindings[j].pImmutableSamplers) { in radv_CreateDescriptorSetLayout() 93 immutable_sampler_count += pCreateInfo->pBindings[j].descriptorCount; in radv_CreateDescriptorSetLayout() 96 for (unsigned i = 0; i < pCreateInfo->pBindings[j].descriptorCount; ++i) { in radv_CreateDescriptorSetLayout() 97 if (radv_sampler_from_handle(pCreateInfo->pBindings[j].pImmutableSamplers[i])->ycbcr_sampler) in radv_CreateDescriptorSetLayout() 102 ycbcr_sampler_count += pCreateInfo->pBindings[j].descriptorCount; in radv_CreateDescriptorSetLayout() 142 VkDescriptorSetLayoutBinding *bindings = create_sorted_bindings(pCreateInfo->pBindings, in radv_CreateDescriptorSetLayout() 315 VkDescriptorSetLayoutBinding *bindings = create_sorted_bindings(pCreateInfo->pBindings, in radv_GetDescriptorSetLayoutSupport()
|
D | radv_meta_buffer.c | 117 .pBindings = (VkDescriptorSetLayoutBinding[]) { in radv_device_init_meta_buffer_state() 139 .pBindings = (VkDescriptorSetLayoutBinding[]) { in radv_device_init_meta_buffer_state()
|
D | radv_meta_bufimage.c | 149 .pBindings = (VkDescriptorSetLayoutBinding[]) { in radv_device_init_meta_itob_state() 374 .pBindings = (VkDescriptorSetLayoutBinding[]) { in radv_device_init_meta_btoi_state() 612 .pBindings = (VkDescriptorSetLayoutBinding[]) { in radv_device_init_meta_btoi_r32g32b32_state() 798 .pBindings = (VkDescriptorSetLayoutBinding[]) { in radv_device_init_meta_itoi_state() 1044 .pBindings = (VkDescriptorSetLayoutBinding[]) { in radv_device_init_meta_itoi_r32g32b32_state() 1209 .pBindings = (VkDescriptorSetLayoutBinding[]) { in radv_device_init_meta_cleari_state() 1402 .pBindings = (VkDescriptorSetLayoutBinding[]) { in radv_device_init_meta_cleari_r32g32b32_state()
|
D | radv_meta_fmask_expand.c | 245 .pBindings = (VkDescriptorSetLayoutBinding[]) { in radv_device_init_meta_fmask_expand_state()
|
/external/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_descriptor_set.c | 41 max_binding = MAX2(max_binding, pCreateInfo->pBindings[j].binding); in lvp_CreateDescriptorSetLayout() 42 if (pCreateInfo->pBindings[j].pImmutableSamplers) in lvp_CreateDescriptorSetLayout() 43 immutable_sampler_count += pCreateInfo->pBindings[j].descriptorCount; in lvp_CreateDescriptorSetLayout() 68 const VkDescriptorSetLayoutBinding *binding = &pCreateInfo->pBindings[j]; in lvp_CreateDescriptorSetLayout()
|
/external/deqp/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()
|
/external/swiftshader/src/Vulkan/ |
D | VkDescriptorSetLayout.cpp | 46 bindingsArraySize = std::max(bindingsArraySize, pCreateInfo->pBindings[i].binding + 1); in DescriptorSetLayout() 62 const VkDescriptorSetLayoutBinding &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()
|
D | VkDevice.cpp | 376 const auto &highestNumberedBinding = pCreateInfo->pBindings[pCreateInfo->bindingCount - 1]; in getDescriptorSetLayoutSupport()
|
/external/vulkan-validation-layers/layers/ |
D | object_tracker_utils.cpp | 486 if (pCreateInfo->pBindings) { in PreCallValidateCreateDescriptorSetLayout() 488 const VkDescriptorSetLayoutBinding &binding = pCreateInfo->pBindings[binding_index]; in PreCallValidateCreateDescriptorSetLayout() 513 if (pCreateInfo->pBindings) { in ValidateSamplerObjects() 515 … for (uint32_t index2 = 0; index2 < pCreateInfo->pBindings[index1].descriptorCount; ++index2) { in ValidateSamplerObjects() 516 if (pCreateInfo->pBindings[index1].pImmutableSamplers) { in ValidateSamplerObjects() 518 …ValidateObject(device, pCreateInfo->pBindings[index1].pImmutableSamplers[index2], kVulkanObjectTyp… in ValidateSamplerObjects()
|
D | parameter_validation_utils.cpp | 2167 if ((pCreateInfo != nullptr) && (pCreateInfo->pBindings != nullptr)) { in manual_PreCallValidateCreateDescriptorSetLayout() 2169 if (pCreateInfo->pBindings[i].descriptorCount != 0) { in manual_PreCallValidateCreateDescriptorSetLayout() 2173 if (((pCreateInfo->pBindings[i].descriptorType == VK_DESCRIPTOR_TYPE_SAMPLER) || in manual_PreCallValidateCreateDescriptorSetLayout() 2174 … (pCreateInfo->pBindings[i].descriptorType == VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER)) && in manual_PreCallValidateCreateDescriptorSetLayout() 2175 (pCreateInfo->pBindings[i].pImmutableSamplers != nullptr)) { in manual_PreCallValidateCreateDescriptorSetLayout() 2176 … for (uint32_t descriptor_index = 0; descriptor_index < pCreateInfo->pBindings[i].descriptorCount; in manual_PreCallValidateCreateDescriptorSetLayout() 2178 … if (pCreateInfo->pBindings[i].pImmutableSamplers[descriptor_index] == VK_NULL_HANDLE) { in manual_PreCallValidateCreateDescriptorSetLayout() 2189 if ((pCreateInfo->pBindings[i].stageFlags != 0) && in manual_PreCallValidateCreateDescriptorSetLayout() 2190 ((pCreateInfo->pBindings[i].stageFlags & (~AllVkShaderStageFlagBits)) != 0)) { in manual_PreCallValidateCreateDescriptorSetLayout()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_descriptor_set.c | 600 max_binding = MAX2(max_binding, pCreateInfo->pBindings[j].binding); in v3dv_CreateDescriptorSetLayout() 613 VkDescriptorType desc_type = pCreateInfo->pBindings[j].descriptorType; in v3dv_CreateDescriptorSetLayout() 616 pCreateInfo->pBindings[j].pImmutableSamplers) { in v3dv_CreateDescriptorSetLayout() 617 immutable_sampler_count += pCreateInfo->pBindings[j].descriptorCount; in v3dv_CreateDescriptorSetLayout() 638 bindings = create_sorted_bindings(pCreateInfo->pBindings, in v3dv_CreateDescriptorSetLayout()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_descriptor_set.c | 259 const VkDescriptorSetLayoutBinding *binding = &pCreateInfo->pBindings[b]; in anv_GetDescriptorSetLayoutSupport() 355 max_binding = MAX2(max_binding, pCreateInfo->pBindings[j].binding); in anv_CreateDescriptorSetLayout() 368 VkDescriptorType desc_type = pCreateInfo->pBindings[j].descriptorType; in anv_CreateDescriptorSetLayout() 371 pCreateInfo->pBindings[j].pImmutableSamplers) in anv_CreateDescriptorSetLayout() 372 immutable_sampler_count += pCreateInfo->pBindings[j].descriptorCount; in anv_CreateDescriptorSetLayout() 417 const VkDescriptorSetLayoutBinding *binding = &pCreateInfo->pBindings[j]; in anv_CreateDescriptorSetLayout() 442 &pCreateInfo->pBindings[info_idx]; in anv_CreateDescriptorSetLayout()
|
/external/vulkan-validation-layers/tests/ |
D | vklayertests_pipeline_shader.cpp | 548 ds_layout_ci.pBindings = &layout_binding; in TEST_F() 628 ds_layout_ci.pBindings = dslb_vec.data(); in TEST_F() 660 ds_layout_ci.pBindings = dslb_vec.data(); in TEST_F() 695 ds_layout_ci.pBindings = dslb_vec.data(); in TEST_F() 731 ds_layout_ci.pBindings = dslb_vec.data(); in TEST_F() 763 ds_layout_ci.pBindings = dslb_vec.data(); in TEST_F() 787 ds_layout_ci.pBindings = dslb_vec.data(); in TEST_F() 859 ds_layout_ci.pBindings = dslb_vec.data(); in TEST_F() 895 ds_layout_ci.pBindings = dslb_vec.data(); in TEST_F() 920 ds_layout_ci.pBindings = dslb_vec.data(); in TEST_F() [all …]
|
/external/vulkan-validation-layers/layers/generated/ |
D | layer_chassis_dispatch.cpp | 2170 if (local_pCreateInfo->pBindings) { in DispatchCreateDescriptorSetLayout() 2172 if (local_pCreateInfo->pBindings[index1].pImmutableSamplers) { in DispatchCreateDescriptorSetLayout() 2173 …for (uint32_t index2 = 0; index2 < local_pCreateInfo->pBindings[index1].descriptorCount; ++index2)… in DispatchCreateDescriptorSetLayout() 2174 …local_pCreateInfo->pBindings[index1].pImmutableSamplers[index2] = layer_data->Unwrap(local_pCreate… in DispatchCreateDescriptorSetLayout() 3583 if (local_pCreateInfo->pBindings) { in DispatchGetDescriptorSetLayoutSupport() 3585 if (local_pCreateInfo->pBindings[index1].pImmutableSamplers) { in DispatchGetDescriptorSetLayoutSupport() 3586 …for (uint32_t index2 = 0; index2 < local_pCreateInfo->pBindings[index1].descriptorCount; ++index2)… in DispatchGetDescriptorSetLayoutSupport() 3587 …local_pCreateInfo->pBindings[index1].pImmutableSamplers[index2] = layer_data->Unwrap(local_pCreate… in DispatchGetDescriptorSetLayoutSupport() 4812 if (local_pCreateInfo->pBindings) { in DispatchGetDescriptorSetLayoutSupportKHR() 4814 if (local_pCreateInfo->pBindings[index1].pImmutableSamplers) { in DispatchGetDescriptorSetLayoutSupportKHR() [all …]
|
/external/swiftshader/tests/VulkanBenchmarks/ |
D | ComputeBenchmarks.cpp | 184 layoutInfo.pBindings = setLayoutBindings.data(); in initialize()
|
/external/mesa3d/src/gallium/drivers/zink/ |
D | zink_program.c | 84 dcslci.pBindings = bindings; in create_desc_set_layout()
|
/external/deqp-deps/amber/src/vulkan/ |
D | pipeline.cc | 102 desc_info.pBindings = bindings.data(); in CreateDescriptorSetLayouts()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiMaintenance3Check.cpp | 672 pCreateInfo.pBindings = bindings.data(); in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawCreateInfoUtil.hpp | 281 …ptorSetLayoutCreateInfo (deUint32 bindingCount, const vk::VkDescriptorSetLayoutBinding* pBindings);
|