Home
last modified time | relevance | path

Searched refs:pPoolSizes (Results 1 – 25 of 53) sorted by relevance

123

/external/virglrenderer/src/venus/venus-protocol/
Dvn_protocol_renderer_descriptor_pool.h138 val->pPoolSizes = vn_cs_decoder_alloc_temp(dec, sizeof(*val->pPoolSizes) * iter_count); in vn_decode_VkDescriptorPoolCreateInfo_self_temp()
139 if (!val->pPoolSizes) return; in vn_decode_VkDescriptorPoolCreateInfo_self_temp()
141 vn_decode_VkDescriptorPoolSize_temp(dec, &((VkDescriptorPoolSize *)val->pPoolSizes)[i]); in vn_decode_VkDescriptorPoolCreateInfo_self_temp()
144 val->pPoolSizes = NULL; in vn_decode_VkDescriptorPoolCreateInfo_self_temp()
169 if (val->pPoolSizes) { in vn_replace_VkDescriptorPoolCreateInfo_handle_self()
171 vn_replace_VkDescriptorPoolSize_handle(&((VkDescriptorPoolSize *)val->pPoolSizes)[i]); in vn_replace_VkDescriptorPoolCreateInfo_handle_self()
/external/swiftshader/src/Vulkan/
DVkDescriptorPool.cpp51 uint32_t descriptorSize = DescriptorSetLayout::GetDescriptorSize(pCreateInfo->pPoolSizes[i].type); in ComputeRequiredAllocationSize()
52 if(pCreateInfo->pPoolSizes[i].type == VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK) in ComputeRequiredAllocationSize()
56 size += sw::align(pCreateInfo->pPoolSizes[i].descriptorCount, 16); in ComputeRequiredAllocationSize()
60 size += pCreateInfo->pPoolSizes[i].descriptorCount * sw::align(descriptorSize, 16); in ComputeRequiredAllocationSize()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiNullHandleTests.cpp262 const VkDescriptorPoolSize pPoolSizes[] = in test() local
275 …static_cast<deUint32>(DE_LENGTH_OF_ARRAY(pPoolSizes)), // uint32_t poolSize… in test()
276 pPoolSizes, // const VkDescriptorPoolSize* pPoolSizes; in test()
/external/skia/src/gpu/ganesh/vk/
DGrVkDescriptorPool.cpp29 createInfo.pPoolSizes = &poolSize; in Create()
/external/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.c688 if (pCreateInfo->pPoolSizes[i].type != VK_DESCRIPTOR_TYPE_SAMPLER) in radv_CreateDescriptorPool()
689 bo_count += pCreateInfo->pPoolSizes[i].descriptorCount; in radv_CreateDescriptorPool()
691 switch(pCreateInfo->pPoolSizes[i].type) { in radv_CreateDescriptorPool()
694 range_count += pCreateInfo->pPoolSizes[i].descriptorCount; in radv_CreateDescriptorPool()
702 bo_size += 32 * pCreateInfo->pPoolSizes[i].descriptorCount; in radv_CreateDescriptorPool()
707 bo_size += 64 * pCreateInfo->pPoolSizes[i].descriptorCount; in radv_CreateDescriptorPool()
710 bo_size += 96 * pCreateInfo->pPoolSizes[i].descriptorCount; in radv_CreateDescriptorPool()
713 bo_size += pCreateInfo->pPoolSizes[i].descriptorCount; in radv_CreateDescriptorPool()
/external/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.c549 if (pCreateInfo->pPoolSizes[i].type != VK_DESCRIPTOR_TYPE_SAMPLER) in tu_CreateDescriptorPool()
550 bo_count += pCreateInfo->pPoolSizes[i].descriptorCount; in tu_CreateDescriptorPool()
552 switch(pCreateInfo->pPoolSizes[i].type) { in tu_CreateDescriptorPool()
555 dynamic_count += pCreateInfo->pPoolSizes[i].descriptorCount; in tu_CreateDescriptorPool()
560 bo_size += descriptor_size(pCreateInfo->pPoolSizes[i].type) * in tu_CreateDescriptorPool()
561 pCreateInfo->pPoolSizes[i].descriptorCount; in tu_CreateDescriptorPool()
/external/mesa3d/src/intel/vulkan/
Danv_descriptor_set.c809 pCreateInfo->pPoolSizes[i].type); in anv_CreateDescriptorPool()
812 buffer_view_count += pCreateInfo->pPoolSizes[i].descriptorCount; in anv_CreateDescriptorPool()
815 pCreateInfo->pPoolSizes[i].descriptorCount; in anv_CreateDescriptorPool()
820 if (pCreateInfo->pPoolSizes[i].type == in anv_CreateDescriptorPool()
824 if (pCreateInfo->pPoolSizes[i].type == in anv_CreateDescriptorPool()
830 desc_data_size += pCreateInfo->pPoolSizes[i].descriptorCount; in anv_CreateDescriptorPool()
835 descriptor_count += pCreateInfo->pPoolSizes[i].descriptorCount; in anv_CreateDescriptorPool()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c414 switch(pCreateInfo->pPoolSizes[i].type) { in v3dv_CreateDescriptorPool()
432 descriptor_count += pCreateInfo->pPoolSizes[i].descriptorCount; in v3dv_CreateDescriptorPool()
433 bo_size += descriptor_bo_size(pCreateInfo->pPoolSizes[i].type) * in v3dv_CreateDescriptorPool()
434 pCreateInfo->pPoolSizes[i].descriptorCount; in v3dv_CreateDescriptorPool()
/external/swiftshader/tests/VulkanBenchmarks/
DComputeBenchmarks.cpp208 descriptorPoolCreateInfo.pPoolSizes = poolSizes.data(); in initialize()
/external/deqp-deps/amber/src/vulkan/
Dpipeline.cc140 pool_info.pPoolSizes = pool_sizes.data(); in CreateDescriptorPools()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawCreateInfoUtil.cpp610 pPoolSizes = &m_poolSizeCounts[0]; in DescriptorPoolCreateInfo()
619 pPoolSizes = &m_poolSizeCounts[0]; in addDescriptors()
/external/vulkan-validation-layers/tests/
Dvklayertests_descriptor_renderpass_framebuffer.cpp1373 ds_pool_ci.pPoolSizes = &ds_type_count; in TEST_F()
3627 ds_pool_ci.pPoolSizes = &ds_type_count; in TEST_F()
3697 ds_pool_ci.pPoolSizes = &ds_type_count; in TEST_F()
4085 ds_pool_ci.pPoolSizes = &ds_type_count; in TEST_F()
4971 ds_pool_ci.pPoolSizes = ds_type_count; in TEST_F()
6382 dp_ci.pPoolSizes = &invalid_dp_size; in TEST_F()
6594 dspci.pPoolSizes = &pool_size; in TEST_F()
6625 dspci.pPoolSizes = &pool_size; in TEST_F()
6722 dspci.pPoolSizes = &pool_sizes[0]; in TEST_F()
6891 dspci.pPoolSizes = &pool_size; in TEST_F()
[all …]
Dvktestbinding.h706 info.pPoolSizes = (info.poolSizeCount) ? pool_sizes.data() : nullptr; in create_info()
Dvkrenderframework.cpp925 pool.pPoolSizes = sizes.data(); in CreateVKDescriptorSet()
/external/angle/third_party/vulkan_memory_allocator/src/
DSparseBindingTest.cpp351 descPoolCreateInfo.pPoolSizes = poolSizes; in ValidateContent()
DVulkanSample.cpp2115 descriptorPoolInfo.pPoolSizes = descriptorPoolSizes; in InitializeApplication()
/external/swiftshader/tests/VulkanWrapper/
DDrawTester.cpp341 poolInfo.pPoolSizes = poolSizes.data(); in createCommandBuffers()
/external/vulkan-validation-layers/layers/
Dparameter_validation_utils.cpp2875 if (pCreateInfo->pPoolSizes) { in manual_PreCallValidateCreateDescriptorPool()
2877 if (pCreateInfo->pPoolSizes[i].descriptorCount <= 0) { in manual_PreCallValidateCreateDescriptorPool()
2883 … if (pCreateInfo->pPoolSizes[i].type == VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT && in manual_PreCallValidateCreateDescriptorPool()
2884 (pCreateInfo->pPoolSizes[i].descriptorCount % 4) != 0) { in manual_PreCallValidateCreateDescriptorPool()
Dcore_validation_types.h172 uint32_t typeIndex = static_cast<uint32_t>(createInfo.pPoolSizes[i].type);
174 maxDescriptorTypeCount[typeIndex] += createInfo.pPoolSizes[i].descriptorCount;
Dgpu_validation.cpp88 desc_pool_info.pPoolSizes = &size_counts; in GetDescriptorSets()
/external/vulkan-validation-layers/layers/generated/
Dvk_safe_struct.cpp4268 pPoolSizes(nullptr) in safe_VkDescriptorPoolCreateInfo()
4271 if (in_struct->pPoolSizes) { in safe_VkDescriptorPoolCreateInfo()
4272 pPoolSizes = new VkDescriptorPoolSize[in_struct->poolSizeCount]; in safe_VkDescriptorPoolCreateInfo()
4273 …memcpy ((void *)pPoolSizes, (void *)in_struct->pPoolSizes, sizeof(VkDescriptorPoolSize)*in_struct-… in safe_VkDescriptorPoolCreateInfo()
4279 pPoolSizes(nullptr) in safe_VkDescriptorPoolCreateInfo()
4288 pPoolSizes = nullptr; in safe_VkDescriptorPoolCreateInfo()
4290 if (src.pPoolSizes) { in safe_VkDescriptorPoolCreateInfo()
4291 pPoolSizes = new VkDescriptorPoolSize[src.poolSizeCount]; in safe_VkDescriptorPoolCreateInfo()
4292 …memcpy ((void *)pPoolSizes, (void *)src.pPoolSizes, sizeof(VkDescriptorPoolSize)*src.poolSizeCount… in safe_VkDescriptorPoolCreateInfo()
4300 if (pPoolSizes) in operator =()
[all …]
/external/mesa3d/src/gallium/drivers/zink/
Dzink_context.c1290 dpci.pPoolSizes = sizes; in zink_context_create()
/external/OpenCL-CTS/test_conformance/vulkan/vulkan_interop_common/
Dvulkan_wrapper.cpp997 vkDescriptorPoolCreateInfo.pPoolSizes = vkDescriptorPoolSizeList.data(); in VulkanDescriptorPoolCommon()
/external/angle/src/tests/test_utils/third_party/
Dvulkan_command_buffer_utils.cpp1406 descriptor_pool.pPoolSizes = type_count; in init_descriptor_pool()
/external/mesa3d/src/vulkan/overlay-layer/
Doverlay.cpp1458 desc_pool_info.pPoolSizes = &sampler_pool_size; in setup_swapchain_data_pipeline()

123