Home
last modified time | relevance | path

Searched refs:descriptorSetCount (Results 1 – 25 of 94) 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);
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 __anon6df712b90111::CmdBindDescriptorSets
1493 … uint32_t firstSet, uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets, in bindDescriptorSets() argument
1501 pipelineBindPoint, firstSet, descriptorSetCount, pDescriptorSets, in bindDescriptorSets()
DVkPipelineLayout.hpp66 const uint32_t descriptorSetCount = 0; member in vk::PipelineLayout
DVkCommandBuffer.hpp100 … uint32_t firstSet, uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets,
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp1149 DescriptorSetCount descriptorSetCount,
1156 static std::vector<deUint32> getViewOffsets (DescriptorSetCount descriptorSetCount,
1160 …atic std::vector<deUint32> getDynamicOffsets (DescriptorSetCount descriptorSetCount,
1168 DescriptorSetCount descriptorSetCount,
1186 DescriptorSetCount descriptorSetCount,
1192 DescriptorSetCount descriptorSetCount,
1207 DescriptorSetCount descriptorSetCount,
1305 DescriptorSetCount descriptorSetCount, in BufferRenderInstance() argument
1314 , m_descriptorSetCount (descriptorSetCount) in BufferRenderInstance()
1346 std::vector<deUint32> BufferRenderInstance::getViewOffsets (DescriptorSetCount descriptorSetCount, in getViewOffsets() argument
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp1149 DescriptorSetCount descriptorSetCount,
1156 static std::vector<deUint32> getViewOffsets (DescriptorSetCount descriptorSetCount,
1160 …atic std::vector<deUint32> getDynamicOffsets (DescriptorSetCount descriptorSetCount,
1168 DescriptorSetCount descriptorSetCount,
1186 DescriptorSetCount descriptorSetCount,
1192 DescriptorSetCount descriptorSetCount,
1207 DescriptorSetCount descriptorSetCount,
1305 DescriptorSetCount descriptorSetCount, in BufferRenderInstance() argument
1314 , m_descriptorSetCount (descriptorSetCount) in BufferRenderInstance()
1346 std::vector<deUint32> BufferRenderInstance::getViewOffsets (DescriptorSetCount descriptorSetCount, in getViewOffsets() argument
[all …]
/third_party/mesa3d/src/vulkan/runtime/
Dvk_cmd_enqueue.c219 uint32_t descriptorSetCount, in vk_cmd_enqueue_CmdBindDescriptorSets() argument
245 cmd->u.bind_descriptor_sets.descriptor_set_count = descriptorSetCount; in vk_cmd_enqueue_CmdBindDescriptorSets()
249 sizeof(*cmd->u.bind_descriptor_sets.descriptor_sets) * descriptorSetCount, 8, in vk_cmd_enqueue_CmdBindDescriptorSets()
253 sizeof(*cmd->u.bind_descriptor_sets.descriptor_sets) * descriptorSetCount); in vk_cmd_enqueue_CmdBindDescriptorSets()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiDescriptorPoolTests.cpp190 deUint32 descriptorSetCount; //!< number of descriptor sets to allocate in outOfPoolMemoryTest() member
264 …const vector<VkDescriptorSetLayout> rawSetLayouts (params.descriptorSetCount, *descriptorSetLay… in outOfPoolMemoryTest()
265 vector<VkDescriptorSet> rawDescriptorSets (params.descriptorSetCount, DE_NULL); in outOfPoolMemoryTest()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiDescriptorPoolTests.cpp190 deUint32 descriptorSetCount; //!< number of descriptor sets to allocate in outOfPoolMemoryTest() member
264 …const vector<VkDescriptorSetLayout> rawSetLayouts (params.descriptorSetCount, *descriptorSetLay… in outOfPoolMemoryTest()
265 vector<VkDescriptorSet> rawDescriptorSets (params.descriptorSetCount, DE_NULL); in outOfPoolMemoryTest()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_descriptor_set.c502 if (variable_info && !variable_info->descriptorSetCount) in vn_AllocateDescriptorSets()
505 for (uint32_t i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in vn_AllocateDescriptorSets()
579 for (uint32_t i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in vn_AllocateDescriptorSets()
592 sizeof(*pDescriptorSets) * pAllocateInfo->descriptorSetCount); in vn_AllocateDescriptorSets()
600 uint32_t descriptorSetCount, in vn_FreeDescriptorSets() argument
610 descriptorSetCount, pDescriptorSets); in vn_FreeDescriptorSets()
612 for (uint32_t i = 0; i < descriptorSetCount; i++) { in vn_FreeDescriptorSets()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkPlatform.cpp271 DDSTAT_HANDLE_CREATE(descriptorSetRequestCount, pAllocateInfo->descriptorSetCount); in allocateDescriptorSetsHandlerStat()
272 for (deUint32 i = 0; i < pAllocateInfo->descriptorSetCount; ++i) in allocateDescriptorSetsHandlerStat()
274 for (deUint32 i = 0; i < pAllocateInfo->descriptorSetCount; ++i) in allocateDescriptorSetsHandlerStat()
280 uint32_t descriptorSetCount, in freeDescriptorSetsHandlerStat() argument
287 for (deUint32 i = 0; i < descriptorSetCount; ++i) in freeDescriptorSetsHandlerStat()
289 for (deUint32 i = 0; i < descriptorSetCount; ++i) in freeDescriptorSetsHandlerStat()
DvkRefUtil.cpp102 DE_ASSERT(pAllocateInfo->descriptorSetCount == 1u); in allocateDescriptorSet()
/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/vk-gl-cts/external/vulkan-docs/src/chapters/commonvalidity/
Dbind_descriptor_sets_common.adoc17 The sum of pname:firstSet and pname:descriptorSetCount must: be less
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DDescriptorSetAllocator.cpp160 allocateInfo.descriptorSetCount = mMaxSets; in AllocateDescriptorPool()
/third_party/vulkan-loader/tests/
Dloader_threading_tests.cpp84 … VkPipelineLayout layout, uint32_t firstSet, uint32_t descriptorSetCount, in test_vkCmdBindDescriptorSets() argument
/third_party/mesa3d/src/intel/vulkan/
Danv_descriptor_set.c1290 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in anv_AllocateDescriptorSets()
1295 if (vdcai != NULL && vdcai->descriptorSetCount > 0) { in anv_AllocateDescriptorSets()
1296 assert(vdcai->descriptorSetCount == pAllocateInfo->descriptorSetCount); in anv_AllocateDescriptorSets()
1318 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) in anv_AllocateDescriptorSets()
Danv_cmd_buffer.c581 uint32_t descriptorSetCount, in anv_CmdBindDescriptorSets() argument
589 assert(firstSet + descriptorSetCount <= MAX_SETS); in anv_CmdBindDescriptorSets()
591 for (uint32_t i = 0; i < descriptorSetCount; i++) { in anv_CmdBindDescriptorSets()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_cmd_buffer.c116 uint32_t descriptorSetCount, in panvk_CmdBindDescriptorSets() argument
128 for (unsigned i = 0; i < descriptorSetCount; ++i) { in panvk_CmdBindDescriptorSets()

1234