/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiMaintenance3Check.cpp | 160 descriptorSetLayoutBinding[ndx].descriptorCount = mainProp3.maxPerSetDescriptors; in iterate() 205 descriptorSetLayoutBinding[ndx].descriptorCount = fraction; in iterate() 206 descriptorSetLayoutBinding[0u].descriptorCount += rest; in iterate() 233 maxPerStageDescriptorSamplers += descriptorSetLayoutBinding->descriptorCount; in extraLimitCheck() 237 maxPerStageDescriptorUniformBuffers += descriptorSetLayoutBinding->descriptorCount; in extraLimitCheck() 241 maxPerStageDescriptorStorageBuffers += descriptorSetLayoutBinding->descriptorCount; in extraLimitCheck() 246 maxPerStageDescriptorSampledImages += descriptorSetLayoutBinding->descriptorCount; in extraLimitCheck() 250 maxPerStageDescriptorStorageImages += descriptorSetLayoutBinding->descriptorCount; in extraLimitCheck() 253 maxPerStageDescriptorInputAttachments += descriptorSetLayoutBinding->descriptorCount; in extraLimitCheck()
|
/external/vulkan-validation-layers/layers/ |
D | hash_vk_types.h | 34 (lhs.descriptorCount != rhs.descriptorCount) || (lhs.stageFlags != rhs.stageFlags) || 39 for (uint32_t samp = 0; samp < lhs.descriptorCount; samp++) { 53 hc << value.binding << value.descriptorType << value.descriptorCount << value.stageFlags; 55 for (uint32_t samp = 0; samp < value.descriptorCount; samp++) {
|
D | descriptor_sets.cpp | 98 descriptor_count_ += binding_info.descriptorCount; in DescriptorSetLayoutDef() 99 if (binding_info.descriptorCount > 0) { in DescriptorSetLayoutDef() 105 binding_to_dyn_count[binding_num] = binding_info.descriptorCount; in DescriptorSetLayoutDef() 106 dynamic_descriptor_count_ += binding_info.descriptorCount; in DescriptorSetLayoutDef() 122 auto final_index = global_index + bindings_[i].descriptorCount; in DescriptorSetLayoutDef() 164 return bindings_[index].descriptorCount; in GetDescriptorCountFromIndex() 270 … if (binding.descriptorCount != rh_ds_layout_def->GetDescriptorCountFromBinding(binding.binding)) { in IsCompatible() 273 … << binding.descriptorCount << " but binding " << binding.binding << " for DescriptorSetLayout " in IsCompatible() 426 if ((binding_info.descriptorCount % 4) != 0) { in ValidateCreateInfo() 429 … "descriptorCount =(%" PRIu32 ") must be a multiple of 4", binding_info.descriptorCount); in ValidateCreateInfo() [all …]
|
D | object_tracker_utils.cpp | 198 for (uint32_t idx2 = 0; idx2 < desc->descriptorCount; ++idx2) { in ValidateDescriptorWrite() 207 for (uint32_t idx3 = 0; idx3 < desc->descriptorCount; ++idx3) { in ValidateDescriptorWrite() 217 for (uint32_t idx4 = 0; idx4 < desc->descriptorCount; ++idx4) { in ValidateDescriptorWrite() 532 for (uint32_t index2 = 0; index2 < binding.descriptorCount; ++index2) { in PreCallValidateCreateDescriptorSetLayout() 555 … for (uint32_t index2 = 0; index2 < pCreateInfo->pBindings[index1].descriptorCount; ++index2) { in ValidateSamplerObjects()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_descriptor_set.c | 53 immutable_sampler_count += pCreateInfo->pBindings[j].descriptorCount; in anv_CreateDescriptorSetLayout() 106 if (binding->descriptorCount == 0) in anv_CreateDescriptorSetLayout() 112 set_layout->binding[b].array_size = binding->descriptorCount; in anv_CreateDescriptorSetLayout() 114 set_layout->size += binding->descriptorCount; in anv_CreateDescriptorSetLayout() 121 sampler_count[s] += binding->descriptorCount; in anv_CreateDescriptorSetLayout() 134 buffer_count += binding->descriptorCount; in anv_CreateDescriptorSetLayout() 145 surface_count[s] += binding->descriptorCount; in anv_CreateDescriptorSetLayout() 156 dynamic_offset_count += binding->descriptorCount; in anv_CreateDescriptorSetLayout() 167 image_count[s] += binding->descriptorCount; in anv_CreateDescriptorSetLayout() 176 samplers += binding->descriptorCount; in anv_CreateDescriptorSetLayout() [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkBuilderUtil.cpp | 38 deUint32 descriptorCount, in addBinding() argument 52 for (size_t descriptorNdx = 0; descriptorNdx < descriptorCount; descriptorNdx++) in addBinding() 61 descriptorCount, // descriptorCount in addBinding() 70 deUint32 descriptorCount, in addIndexedBinding() argument 85 for (size_t descriptorNdx = 0; descriptorNdx < descriptorCount; descriptorNdx++) in addIndexedBinding() 94 descriptorCount, // descriptorCount in addIndexedBinding() 155 m_counts[ndx].descriptorCount += numDescriptors; in addType()
|
D | vkBuilderUtil.hpp | 40 deUint32 descriptorCount, 45 deUint32 descriptorCount, 66 deUint32 descriptorCount, in addArrayBinding() argument 69 return addBinding(descriptorType, descriptorCount, stageFlags, (VkSampler*)DE_NULL); in addArrayBinding() 89 deUint32 descriptorCount, in addArraySamplerBinding() argument 93 return addBinding(descriptorType, descriptorCount, stageFlags, pImmutableSamplers); in addArraySamplerBinding()
|
D | vkTypeUtil.inl | 225 …Binding (deUint32 binding, VkDescriptorType descriptorType, deUint32 descriptorCount, VkShaderStag… argument 230 res.descriptorCount = descriptorCount; 236 inline VkDescriptorPoolSize makeDescriptorPoolSize (VkDescriptorType type, deUint32 descriptorCount) argument 240 res.descriptorCount = descriptorCount; 380 …mplateEntry (deUint32 dstBinding, deUint32 dstArrayElement, deUint32 descriptorCount, VkDescriptor… argument 385 res.descriptorCount = descriptorCount;
|
/external/deqp/external/vulkancts/modules/vulkan/binding_model/ |
D | vktBindingDescriptorSetRandomTests.cpp | 369 binding.descriptorCount = 1; in generateRandomLayout() 375 binding.descriptorCount = 0; in generateRandomLayout() 387 binding.descriptorCount = arraySizes[b] ? arraySizes[b] : 1; in generateRandomLayout() 388 numUBO += binding.descriptorCount; in generateRandomLayout() 396 binding.descriptorCount = arraySizes[b] ? arraySizes[b] : 1; in generateRandomLayout() 397 numSSBO += binding.descriptorCount; in generateRandomLayout() 405 binding.descriptorCount = arraySizes[b] ? arraySizes[b] : 1; in generateRandomLayout() 406 numImage += binding.descriptorCount; in generateRandomLayout() 414 binding.descriptorCount = arraySizes[b] ? arraySizes[b] : 1; in generateRandomLayout() 415 numTexBuffer += binding.descriptorCount; in generateRandomLayout() [all …]
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_descriptor_set.c | 50 immutable_sampler_count += pCreateInfo->pBindings[j].descriptorCount; in radv_CreateDescriptorSetLayout() 126 assert(binding->descriptorCount > 0); in radv_CreateDescriptorSetLayout() 128 set_layout->binding[b].array_size = binding->descriptorCount; in radv_CreateDescriptorSetLayout() 139 for (uint32_t i = 0; i < binding->descriptorCount; i++) in radv_CreateDescriptorSetLayout() 141 for (uint32_t i = 1; i < binding->descriptorCount; i++) in radv_CreateDescriptorSetLayout() 152 samplers += 4 * binding->descriptorCount; in radv_CreateDescriptorSetLayout() 153 samplers_offset += 4 * sizeof(uint32_t) * binding->descriptorCount; in radv_CreateDescriptorSetLayout() 156 set_layout->size += binding->descriptorCount * set_layout->binding[b].size; in radv_CreateDescriptorSetLayout() 157 buffer_count += binding->descriptorCount * binding_buffer_count; in radv_CreateDescriptorSetLayout() 158 dynamic_offset_count += binding->descriptorCount * in radv_CreateDescriptorSetLayout() [all …]
|
D | radv_meta_bufimage.c | 150 .descriptorCount = 1, in radv_device_init_meta_itob_state() 157 .descriptorCount = 1, in radv_device_init_meta_itob_state() 373 .descriptorCount = 1, in radv_device_init_meta_btoi_state() 380 .descriptorCount = 1, in radv_device_init_meta_btoi_state() 587 .descriptorCount = 1, in radv_device_init_meta_itoi_state() 594 .descriptorCount = 1, in radv_device_init_meta_itoi_state() 783 .descriptorCount = 1, in radv_device_init_meta_cleari_state() 989 .descriptorCount = 1, in itob_bind_descriptors() 1003 .descriptorCount = 1, in itob_bind_descriptors() 1066 .descriptorCount = 1, in btoi_bind_descriptors() [all …]
|
D | radv_meta_buffer.c | 141 .descriptorCount = 1, in radv_device_init_meta_buffer_state() 163 .descriptorCount = 1, in radv_device_init_meta_buffer_state() 170 .descriptorCount = 1, in radv_device_init_meta_buffer_state() 320 .descriptorCount = 1, in fill_buffer_shader() 379 .descriptorCount = 1, in copy_buffer_shader() 391 .descriptorCount = 1, in copy_buffer_shader()
|
D | radv_meta_resolve_cs.c | 164 .descriptorCount = 1, in create_layout() 171 .descriptorCount = 1, in create_layout() 331 .descriptorCount = 1, in emit_resolve() 344 .descriptorCount = 1, in emit_resolve()
|
D | radv_meta_fast_clear.c | 119 .descriptorCount = 1, in create_dcc_compress_compute() 126 .descriptorCount = 1, in create_dcc_compress_compute() 740 .descriptorCount = 1, in radv_decompress_dcc_compute() 754 .descriptorCount = 1, in radv_decompress_dcc_compute()
|
/external/swiftshader/src/Vulkan/ |
D | VkDescriptorSetLayout.cpp | 43 size_t immutableSamplersSize = bindings[i].descriptorCount * sizeof(VkSampler); in DescriptorSetLayout() 80 allocationSize += pCreateInfo->pBindings[i].descriptorCount * sizeof(VkSampler); in ComputeRequiredAllocationSize() 115 size += bindings[i].descriptorCount * GetDescriptorSize(bindings[i].descriptorType); in getSize()
|
/external/skia/src/gpu/vk/ |
D | GrVkDescriptorPool.cpp | 20 poolSize.descriptorCount = count; in GrVkDescriptorPool()
|
D | GrVkDescriptorSetManager.cpp | 212 dsSamplerBindings[i].descriptorCount = 1; in DescriptorPoolManager() 256 dsUniBindings[i].descriptorCount = 1; in DescriptorPoolManager()
|
D | GrVkPipelineState.cpp | 276 writeInfo.descriptorCount = 1; in setAndBindTextures() 315 descriptorWrite->descriptorCount = 1; in set_uniform_descriptor_writes()
|
D | GrVkCopyManager.cpp | 246 descriptorWrites.descriptorCount = 1; in copySurfaceAsDraw() 279 writeInfo.descriptorCount = 1; in copySurfaceAsDraw()
|
/external/skqp/src/gpu/vk/ |
D | GrVkDescriptorPool.cpp | 20 poolSize.descriptorCount = count; in GrVkDescriptorPool()
|
D | GrVkDescriptorSetManager.cpp | 208 dsSamplerBindings[i].descriptorCount = 1; in DescriptorPoolManager() 248 dsUniBindings[i].descriptorCount = 1; in DescriptorPoolManager()
|
D | GrVkPipelineState.cpp | 276 writeInfo.descriptorCount = 1; in setAndBindTextures() 315 descriptorWrite->descriptorCount = 1; in set_uniform_descriptor_writes()
|
D | GrVkCopyManager.cpp | 246 descriptorWrites.descriptorCount = 1; in copySurfaceAsDraw() 279 writeInfo.descriptorCount = 1; in copySurfaceAsDraw()
|
/external/vulkan-validation-layers/tests/ |
D | layer_validation_tests.cpp | 1015 …or (const auto &b : bindings) sizes.push_back({b.descriptorType, std::max(1u, b.descriptorCount)}); 2446 descriptor_writes[0].descriptorCount = 1; in TEST_F() 2452 descriptor_writes[1].descriptorCount = 6; in TEST_F() 3128 ds_type_count.descriptorCount = 1; in TEST_F() 8517 ds_type_count.descriptorCount = 2; in TEST_F() 8534 dsl_binding_samp.descriptorCount = 1; in TEST_F() 8558 dsl_binding.descriptorCount = 1; in TEST_F() 8585 ds_type_count.descriptorCount = 1; in TEST_F() 8604 dsl_binding.descriptorCount = 1; in TEST_F() 8653 layout_binding.descriptorCount = 1; in TEST_F() [all …]
|
/external/skqp/src/compute/hs/vk/ |
D | hs_vk.c | 533 .descriptorCount = 2, in hs_vk_ds_bind() 894 .descriptorCount = 1, in hs_vk_create() 901 .descriptorCount = 1, in hs_vk_create()
|