Home
last modified time | relevance | path

Searched refs:descriptorSetCount (Results 1 – 25 of 83) sorted by relevance

1234

/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_descriptor_set.h34 size += vn_sizeof_uint32_t(&val->descriptorSetCount); in vn_sizeof_VkDescriptorSetVariableDescriptorCountAllocateInfo_self()
36 size += vn_sizeof_array_size(val->descriptorSetCount); in vn_sizeof_VkDescriptorSetVariableDescriptorCountAllocateInfo_self()
37 size += vn_sizeof_uint32_t_array(val->pDescriptorCounts, val->descriptorSetCount); in vn_sizeof_VkDescriptorSetVariableDescriptorCountAllocateInfo_self()
67 vn_encode_uint32_t(enc, &val->descriptorSetCount); in vn_encode_VkDescriptorSetVariableDescriptorCountAllocateInfo_self()
69 vn_encode_array_size(enc, val->descriptorSetCount); in vn_encode_VkDescriptorSetVariableDescriptorCountAllocateInfo_self()
70 vn_encode_uint32_t_array(enc, val->pDescriptorCounts, val->descriptorSetCount); in vn_encode_VkDescriptorSetVariableDescriptorCountAllocateInfo_self()
117 size += vn_sizeof_uint32_t(&val->descriptorSetCount); in vn_sizeof_VkDescriptorSetAllocateInfo_self()
119 size += vn_sizeof_array_size(val->descriptorSetCount); in vn_sizeof_VkDescriptorSetAllocateInfo_self()
120 for (uint32_t i = 0; i < val->descriptorSetCount; i++) in vn_sizeof_VkDescriptorSetAllocateInfo_self()
168 vn_encode_uint32_t(enc, &val->descriptorSetCount); in vn_encode_VkDescriptorSetAllocateInfo_self()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDescriptorPool.cpp58 VkResult DescriptorPool::allocateSets(uint32_t descriptorSetCount, const VkDescriptorSetLayout *pSe… in allocateSets() argument
61 std::unique_ptr<size_t[]> layoutSizes(new size_t[descriptorSetCount]); in allocateSets()
62 for(uint32_t i = 0; i < descriptorSetCount; i++) in allocateSets()
68 VkResult result = allocateSets(&(layoutSizes[0]), descriptorSetCount, pDescriptorSets); in allocateSets()
71 for(uint32_t i = 0; i < descriptorSetCount; i++) in allocateSets()
177 void DescriptorPool::freeSets(uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets) in freeSets() argument
179 for(uint32_t i = 0; i < descriptorSetCount; i++) in freeSets()
DVkPipelineLayout.cpp26 , descriptorSetCount(pCreateInfo->setLayoutCount) in PipelineLayout()
92 return descriptorSetCount; in getDescriptorSetCount()
102 ASSERT(setNumber < descriptorSetCount && bindingNumber < descriptorSets[setNumber].bindingCount); in getDynamicOffsetIndex()
108 ASSERT(setNumber < descriptorSetCount && bindingNumber < descriptorSets[setNumber].bindingCount); in getDescriptorCount()
114 ASSERT(setNumber < descriptorSetCount && bindingNumber < descriptorSets[setNumber].bindingCount); in getBindingOffset()
120 ASSERT(setNumber < descriptorSetCount && bindingNumber < descriptorSets[setNumber].bindingCount); in getDescriptorType()
DVkDescriptorSet.cpp27 uint32_t descriptorSetCount = layout->getDescriptorSetCount(); in ParseDescriptors() local
28 ASSERT(descriptorSetCount <= MAX_BOUND_DESCRIPTOR_SETS); in ParseDescriptors()
30 for(uint32_t i = 0; i < descriptorSetCount; ++i) in ParseDescriptors()
DVkDescriptorPool.hpp31 …VkResult allocateSets(uint32_t descriptorSetCount, const VkDescriptorSetLayout *pSetLayouts, VkDes…
32 void freeSets(uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets);
DVkPipelineLayout.hpp66 const uint32_t descriptorSetCount = 0; member in vk::PipelineLayout
DVkCommandBuffer.cpp974 … uint32_t firstSet, uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets, in CmdBindDescriptorSets() argument
978 , descriptorSetCount(descriptorSetCount) in CmdBindDescriptorSets()
982 for(uint32_t i = 0; i < descriptorSetCount; i++) in CmdBindDescriptorSets()
998 ASSERT(firstSet + descriptorSetCount <= vk::MAX_BOUND_DESCRIPTOR_SETS); in execute()
1003 for(uint32_t i = firstSet; i < firstSet + descriptorSetCount; i++) in execute()
1020 const uint32_t descriptorSetCount; member in __anon4bb7368e0111::CmdBindDescriptorSets
1493 … uint32_t firstSet, uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets, in bindDescriptorSets() argument
1501 pipelineBindPoint, firstSet, descriptorSetCount, pDescriptorSets, in bindDescriptorSets()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp1131 DescriptorSetCount descriptorSetCount,
1138 static std::vector<deUint32> getViewOffsets (DescriptorSetCount descriptorSetCount,
1142 …atic std::vector<deUint32> getDynamicOffsets (DescriptorSetCount descriptorSetCount,
1150 DescriptorSetCount descriptorSetCount,
1168 DescriptorSetCount descriptorSetCount,
1174 DescriptorSetCount descriptorSetCount,
1189 DescriptorSetCount descriptorSetCount,
1281 DescriptorSetCount descriptorSetCount, in BufferRenderInstance() argument
1290 , m_descriptorSetCount (descriptorSetCount) in BufferRenderInstance()
1315 std::vector<deUint32> BufferRenderInstance::getViewOffsets (DescriptorSetCount descriptorSetCount, in getViewOffsets() argument
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiDescriptorPoolTests.cpp175 deUint32 descriptorSetCount; //!< number of descriptor sets to allocate in outOfPoolMemoryTest() member
249 …const vector<VkDescriptorSetLayout> rawSetLayouts (params.descriptorSetCount, *descriptorSetLay… in outOfPoolMemoryTest()
250 vector<VkDescriptorSet> rawDescriptorSets (params.descriptorSetCount, DE_NULL); in outOfPoolMemoryTest()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_descriptor_set.c414 if (variable_info && !variable_info->descriptorSetCount) in vn_AllocateDescriptorSets()
417 for (uint32_t i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in vn_AllocateDescriptorSets()
491 for (uint32_t i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in vn_AllocateDescriptorSets()
504 sizeof(*pDescriptorSets) * pAllocateInfo->descriptorSetCount); in vn_AllocateDescriptorSets()
512 uint32_t descriptorSetCount, in vn_FreeDescriptorSets() argument
521 descriptorSetCount, pDescriptorSets); in vn_FreeDescriptorSets()
523 for (uint32_t i = 0; i < descriptorSetCount; i++) { in vn_FreeDescriptorSets()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_cmd_buffer.c517 uint32_t descriptorSetCount, in lvp_CmdBindDescriptorSets() argument
541 cmd->u.bind_descriptor_sets.descriptor_set_count = descriptorSetCount; in lvp_CmdBindDescriptorSets()
543 …ueue.alloc, sizeof(*cmd->u.bind_descriptor_sets.descriptor_sets) * descriptorSetCount, 8, VK_SYSTE… in lvp_CmdBindDescriptorSets()
544 …_sets, pDescriptorSets, sizeof(*cmd->u.bind_descriptor_sets.descriptor_sets) * descriptorSetCount); in lvp_CmdBindDescriptorSets()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.h85 uint32_t descriptorSetCount; member
374 uint32_t descriptorSetCount,
649 uint32_t descriptorSetCount, in bindDescriptorSets() argument
654 size_t descSize = descriptorSetCount * sizeof(VkDescriptorSet); in bindDescriptorSets()
663 paramStruct->descriptorSetCount = descriptorSetCount; in bindDescriptorSets()
Dvk_helpers.h141 bool hasCapacity(uint32_t descriptorSetCount) const;
150 uint32_t descriptorSetCount,
185 uint32_t descriptorSetCount, in allocateSets() argument
190 return allocateSetsAndGetInfo(contextVk, descriptorSetLayout, descriptorSetCount, in allocateSets()
198 uint32_t descriptorSetCount,
Dvk_wrapper.h208 uint32_t descriptorSetCount,
508 uint32_t descriptorSetCount,
791 uint32_t descriptorSetCount,
798 descriptorSetCount, descriptorSets, dynamicOffsetCount, dynamicOffsets);
1340 uint32_t descriptorSetCount,
1344 ASSERT(descriptorSetCount > 0);
1345 return vkFreeDescriptorSets(device, mHandle, descriptorSetCount, descriptorSets);
Dvk_helpers.cpp586 bool DescriptorPoolHelper::hasCapacity(uint32_t descriptorSetCount) const in hasCapacity()
588 return mFreeDescriptorSets >= descriptorSetCount; in hasCapacity()
626 uint32_t descriptorSetCount, in allocateSets() argument
632 allocInfo.descriptorSetCount = descriptorSetCount; in allocateSets()
635 ASSERT(mFreeDescriptorSets >= descriptorSetCount); in allocateSets()
636 mFreeDescriptorSets -= descriptorSetCount; in allocateSets()
695 uint32_t descriptorSetCount, in allocateSetsAndGetInfo() argument
702 if (!bindingOut->valid() || !bindingOut->get().hasCapacity(descriptorSetCount)) in allocateSetsAndGetInfo()
704 if (!mDescriptorPools[mCurrentPoolIndex]->get().hasCapacity(descriptorSetCount)) in allocateSetsAndGetInfo()
722 return bindingOut->get().allocateSets(contextVk, descriptorSetLayout, descriptorSetCount, in allocateSetsAndGetInfo()
DSecondaryCommandBuffer.cpp56 descriptorSets, sizeof(VkDescriptorSet) * params->descriptorSetCount); in executeCommands()
58 params->firstSet, params->descriptorSetCount, in executeCommands()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_descriptor_set.c125 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in panvk_per_arch()
141 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) in panvk_per_arch()
Dpanvk_cmd_buffer.c72 uint32_t descriptorSetCount, in panvk_CmdBindDescriptorSets() argument
83 for (unsigned i = 0; i < descriptorSetCount; ++i) { in panvk_CmdBindDescriptorSets()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBindGroupVk.cpp56 allocateInfo.descriptorSetCount = 1; in BindGroup()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSecondaryCommandBuffer.h114 uint32_t descriptorSetCount; member
514 uint32_t descriptorSetCount,
921 uint32_t descriptorSetCount, in bindDescriptorSets() argument
926 size_t descSize = descriptorSetCount * sizeof(VkDescriptorSet); in bindDescriptorSets()
935 paramStruct->descriptorSetCount = descriptorSetCount; in bindDescriptorSets()
Dvk_wrapper.h201 uint32_t descriptorSetCount,
571 uint32_t descriptorSetCount,
876 uint32_t descriptorSetCount,
883 ToUnderlying(firstSet), descriptorSetCount, descriptorSets,
1611 uint32_t descriptorSetCount,
1615 ASSERT(descriptorSetCount > 0);
1616 return vkFreeDescriptorSets(device, mHandle, descriptorSetCount, descriptorSets);
DSecondaryCommandBuffer.cpp200 descriptorSets, sizeof(VkDescriptorSet) * params->descriptorSetCount); in executeCommands()
202 params->firstSet, params->descriptorSetCount, in executeCommands()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkdescriptorpool.c178 .descriptorSetCount = n_layouts, in descriptor_set_alloc()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DDescriptorSetAllocator.cpp160 allocateInfo.descriptorSetCount = mMaxSets; in AllocateDescriptorPool()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkRefUtil.cpp87 DE_ASSERT(pAllocateInfo->descriptorSetCount == 1u); in allocateDescriptorSet()

1234