Home
last modified time | relevance | path

Searched refs:pDescriptorSets (Results 1 – 25 of 52) sorted by relevance

123

/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_descriptor_set.h497 …kDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) in vn_sizeof_vkAllocateDescriptorSets() argument
507 if (pDescriptorSets) { in vn_sizeof_vkAllocateDescriptorSets()
510 cmd_size += vn_sizeof_VkDescriptorSet(&pDescriptorSets[i]); in vn_sizeof_vkAllocateDescriptorSets()
518 …kDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) in vn_encode_vkAllocateDescriptorSets() argument
528 if (pDescriptorSets) { in vn_encode_vkAllocateDescriptorSets()
531 vn_encode_VkDescriptorSet(enc, &pDescriptorSets[i]); in vn_encode_vkAllocateDescriptorSets()
537 …kDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) in vn_sizeof_vkAllocateDescriptorSets_reply() argument
546 if (pDescriptorSets) { in vn_sizeof_vkAllocateDescriptorSets_reply()
549 cmd_size += vn_sizeof_VkDescriptorSet(&pDescriptorSets[i]); in vn_sizeof_vkAllocateDescriptorSets_reply()
557 …kDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) in vn_decode_vkAllocateDescriptorSets_reply() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDescriptorPool.cpp58 …2_t descriptorSetCount, const VkDescriptorSetLayout *pSetLayouts, VkDescriptorSet *pDescriptorSets) in allocateSets() argument
64 pDescriptorSets[i] = VK_NULL_HANDLE; in allocateSets()
68 VkResult result = allocateSets(&(layoutSizes[0]), descriptorSetCount, pDescriptorSets); in allocateSets()
73 vk::Cast(pSetLayouts[i])->initialize(vk::Cast(pDescriptorSets[i])); in allocateSets()
121 …t DescriptorPool::allocateSets(size_t *sizes, uint32_t numAllocs, VkDescriptorSet *pDescriptorSets) in allocateSets() argument
141 pDescriptorSets[i] = *(new(memory) DescriptorSet()); in allocateSets()
156 pDescriptorSets[i] = *(new(memory) DescriptorSet()); in allocateSets()
166 freeSet(pDescriptorSets[j]); in allocateSets()
167 pDescriptorSets[j] = VK_NULL_HANDLE; in allocateSets()
177 void DescriptorPool::freeSets(uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets) in freeSets() argument
[all …]
DVkDescriptorPool.hpp31 …_t descriptorSetCount, const VkDescriptorSetLayout *pSetLayouts, VkDescriptorSet *pDescriptorSets);
32 void freeSets(uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets);
36 VkResult allocateSets(size_t *sizes, uint32_t numAllocs, VkDescriptorSet *pDescriptorSets);
DVkCommandBuffer.cpp974 … uint32_t firstSet, uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets, in CmdBindDescriptorSets() argument
985 descriptorSetObjects[firstSet + i] = vk::Cast(pDescriptorSets[i]); in CmdBindDescriptorSets()
986 descriptorSets[firstSet + i] = vk::Cast(pDescriptorSets[i])->data; in CmdBindDescriptorSets()
1493 … uint32_t firstSet, uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets, in bindDescriptorSets() argument
1501 pipelineBindPoint, firstSet, descriptorSetCount, pDescriptorSets, in bindDescriptorSets()
DVkCommandBuffer.hpp100 … uint32_t firstSet, uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets,
DlibVulkan.cpp2293 …kDevice device, const VkDescriptorSetAllocateInfo *pAllocateInfo, VkDescriptorSet *pDescriptorSets) in vkAllocateDescriptorSets() argument
2296 device, pAllocateInfo, pDescriptorSets); in vkAllocateDescriptorSets()
2305 …ool)->allocateSets(pAllocateInfo->descriptorSetCount, pAllocateInfo->pSetLayouts, pDescriptorSets); in vkAllocateDescriptorSets()
2308 …DescriptorPool descriptorPool, uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets) in vkFreeDescriptorSets() argument
2311 device, static_cast<void *>(descriptorPool), descriptorSetCount, pDescriptorSets); in vkFreeDescriptorSets()
2313 vk::Cast(descriptorPool)->freeSets(descriptorSetCount, pDescriptorSets); in vkFreeDescriptorSets()
2576 …nt32_t firstSet, uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets, uint32_t dyn… in vkCmdBindDescriptorSets() argument
2579 …static_cast<void *>(layout), int(firstSet), int(descriptorSetCount), pDescriptorSets, int(dynamicO… in vkCmdBindDescriptorSets()
2581 …s(pipelineBindPoint, vk::Cast(layout), firstSet, descriptorSetCount, pDescriptorSets, dynamicOffse… in vkCmdBindDescriptorSets()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_descriptor_set.c482 VkDescriptorSet *pDescriptorSets) in vn_AllocateDescriptorSets() argument
526 pDescriptorSets[i] = VK_NULL_HANDLE; in vn_AllocateDescriptorSets()
536 pDescriptorSets[i] = VK_NULL_HANDLE; in vn_AllocateDescriptorSets()
563 pDescriptorSets[i] = set_handle; in vn_AllocateDescriptorSets()
568 pDescriptorSets); in vn_AllocateDescriptorSets()
571 dev->instance, device, pAllocateInfo, pDescriptorSets); in vn_AllocateDescriptorSets()
581 vn_descriptor_set_from_handle(pDescriptorSets[i]); in vn_AllocateDescriptorSets()
591 memset(pDescriptorSets, 0, in vn_AllocateDescriptorSets()
592 sizeof(*pDescriptorSets) * pAllocateInfo->descriptorSetCount); in vn_AllocateDescriptorSets()
601 const VkDescriptorSet *pDescriptorSets) in vn_FreeDescriptorSets() argument
[all …]
/third_party/mesa3d/src/vulkan/runtime/
Dvk_cmd_enqueue.c220 const VkDescriptorSet* pDescriptorSets, in vk_cmd_enqueue_CmdBindDescriptorSets() argument
246 if (pDescriptorSets) { in vk_cmd_enqueue_CmdBindDescriptorSets()
252 memcpy(cmd->u.bind_descriptor_sets.descriptor_sets, pDescriptorSets, in vk_cmd_enqueue_CmdBindDescriptorSets()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_descriptor_set.c362 VkDescriptorSet* pDescriptorSets) in lvp_AllocateDescriptorSets() argument
379 pDescriptorSets[i] = lvp_descriptor_set_to_handle(set); in lvp_AllocateDescriptorSets()
384 i, pDescriptorSets); in lvp_AllocateDescriptorSets()
393 const VkDescriptorSet* pDescriptorSets) in lvp_FreeDescriptorSets() argument
397 LVP_FROM_HANDLE(lvp_descriptor_set, set, pDescriptorSets[i]); in lvp_FreeDescriptorSets()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_descriptor_set.c310 const VkDescriptorSet *pDescriptorSets) in panvk_FreeDescriptorSets() argument
316 VK_FROM_HANDLE(panvk_descriptor_set, set, pDescriptorSets[i]); in panvk_FreeDescriptorSets()
Dpanvk_vX_descriptor_set.c352 VkDescriptorSet *pDescriptorSets) in panvk_per_arch()
368 pDescriptorSets[i] = panvk_descriptor_set_to_handle(set); in panvk_per_arch()
374 panvk_FreeDescriptorSets(_device, pAllocateInfo->descriptorPool, i, pDescriptorSets); in panvk_per_arch()
376 pDescriptorSets[i] = VK_NULL_HANDLE; in panvk_per_arch()
Dpanvk_cmd_buffer.c117 const VkDescriptorSet *pDescriptorSets, in panvk_CmdBindDescriptorSets() argument
130 VK_FROM_HANDLE(panvk_descriptor_set, set, pDescriptorSets[i]); in panvk_CmdBindDescriptorSets()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiNullHandleTests.cpp150 …kDescriptorPool descriptorPool, deUint32 numDescriptorSets, const VkDescriptorSet* pDescriptorSets) in release() argument
155 …etDeviceInterface().freeDescriptorSets(device, descriptorPool, numDescriptorSets, pDescriptorSets); in release()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_descriptor_set.c1232 VkDescriptorSet *pDescriptorSets) in pvr_AllocateDescriptorSets() argument
1253 pDescriptorSets[i] = pvr_descriptor_set_to_handle(set); in pvr_AllocateDescriptorSets()
1262 pDescriptorSets); in pvr_AllocateDescriptorSets()
1265 pDescriptorSets[i] = VK_NULL_HANDLE; in pvr_AllocateDescriptorSets()
1273 const VkDescriptorSet *pDescriptorSets) in pvr_FreeDescriptorSets() argument
1281 if (!pDescriptorSets[i]) in pvr_FreeDescriptorSets()
1284 set = pvr_descriptor_set_from_handle(pDescriptorSets[i]); in pvr_FreeDescriptorSets()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c922 VkDescriptorSet *pDescriptorSets) in v3dv_AllocateDescriptorSets() argument
939 pDescriptorSets[i] = v3dv_descriptor_set_to_handle(set); in v3dv_AllocateDescriptorSets()
944 i, pDescriptorSets); in v3dv_AllocateDescriptorSets()
946 pDescriptorSets[i] = VK_NULL_HANDLE; in v3dv_AllocateDescriptorSets()
957 const VkDescriptorSet *pDescriptorSets) in v3dv_FreeDescriptorSets() argument
963 V3DV_FROM_HANDLE(v3dv_descriptor_set, set, pDescriptorSets[i]); in v3dv_FreeDescriptorSets()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.c802 VkDescriptorSet *pDescriptorSets) in tu_AllocateDescriptorSets() argument
834 pDescriptorSets[i] = tu_descriptor_set_to_handle(set); in tu_AllocateDescriptorSets()
839 i, pDescriptorSets); in tu_AllocateDescriptorSets()
841 pDescriptorSets[i] = VK_NULL_HANDLE; in tu_AllocateDescriptorSets()
851 const VkDescriptorSet *pDescriptorSets) in tu_FreeDescriptorSets() argument
857 TU_FROM_HANDLE(tu_descriptor_set, set, pDescriptorSets[i]); in tu_FreeDescriptorSets()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkNullDriver.cpp1331 …Sets (VkDevice, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) in allocateDescriptorSets() argument
1339 pDescriptorSets[ndx] = poolImpl->allocate(pAllocateInfo->pSetLayouts[ndx]); in allocateDescriptorSets()
1344 delete reinterpret_cast<DescriptorSet*>((deUintptr)pDescriptorSets[freeNdx].getInternal()); in allocateDescriptorSets()
1351 delete reinterpret_cast<DescriptorSet*>((deUintptr)pDescriptorSets[freeNdx].getInternal()); in allocateDescriptorSets()
1360 …(VkDevice, VkDescriptorPool descriptorPool, deUint32 count, const VkDescriptorSet* pDescriptorSets) in freeDescriptorSets() argument
1365 poolImpl->free(pDescriptorSets[ndx]); in freeDescriptorSets()
/third_party/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.c948 VkDescriptorSet *pDescriptorSets) in radv_AllocateDescriptorSets() argument
979 pDescriptorSets[i] = radv_descriptor_set_to_handle(set); in radv_AllocateDescriptorSets()
983 radv_FreeDescriptorSets(_device, pAllocateInfo->descriptorPool, i, pDescriptorSets); in radv_AllocateDescriptorSets()
985 pDescriptorSets[i] = VK_NULL_HANDLE; in radv_AllocateDescriptorSets()
993 const VkDescriptorSet *pDescriptorSets) in radv_FreeDescriptorSets() argument
999 RADV_FROM_HANDLE(radv_descriptor_set, set, pDescriptorSets[i]); in radv_FreeDescriptorSets()
/third_party/mesa3d/src/intel/vulkan/
Danv_descriptor_set.c1277 VkDescriptorSet* pDescriptorSets) in anv_AllocateDescriptorSets() argument
1305 pDescriptorSets[i] = anv_descriptor_set_to_handle(set); in anv_AllocateDescriptorSets()
1310 i, pDescriptorSets); in anv_AllocateDescriptorSets()
1319 pDescriptorSets[i] = VK_NULL_HANDLE; in anv_AllocateDescriptorSets()
1330 const VkDescriptorSet* pDescriptorSets) in anv_FreeDescriptorSets() argument
1336 ANV_FROM_HANDLE(anv_descriptor_set, set, pDescriptorSets[i]); in anv_FreeDescriptorSets()
Danv_cmd_buffer.c582 const VkDescriptorSet* pDescriptorSets, in anv_CmdBindDescriptorSets() argument
592 ANV_FROM_HANDLE(anv_descriptor_set, set, pDescriptorSets[i]); in anv_CmdBindDescriptorSets()
/third_party/vulkan-loader/tests/
Dloader_threading_tests.cpp85 … const VkDescriptorSet* pDescriptorSets, uint32_t dynamicOffsetCount, in test_vkCmdBindDescriptorSets() argument
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_descriptor_set.c1592 VkDescriptorSet *pDescriptorSets) in dzn_AllocateDescriptorSets() argument
1608 dzn_FreeDescriptorSets(dev, pAllocateInfo->descriptorPool, i, pDescriptorSets); in dzn_AllocateDescriptorSets()
1615 dzn_FreeDescriptorSets(dev, pAllocateInfo->descriptorPool, i, pDescriptorSets); in dzn_AllocateDescriptorSets()
1630 pDescriptorSets[i] = dzn_descriptor_set_to_handle(set); in dzn_AllocateDescriptorSets()
1640 const VkDescriptorSet *pDescriptorSets) in dzn_FreeDescriptorSets() argument
1645 VK_FROM_HANDLE(dzn_descriptor_set, set, pDescriptorSets[s]); in dzn_FreeDescriptorSets()
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_HUAWEI_subpass_shading.txt79 firstSet, descriptorSetCount, pDescriptorSets, dynamicOffsetCount, pDynamicOffsets);
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Ddescriptorsets.txt2493 * pname:pDescriptorSets is a pointer to an array of slink:VkDescriptorSet
2496 The allocated descriptor sets are returned in pname:pDescriptorSets.
2570 from this command, set all entries of the pname:pDescriptorSets array to
2720 pname:pDescriptorSets array.
2721 * pname:pDescriptorSets is a pointer to an array of handles to
2725 pname:pDescriptorSets are invalid.
2729 * [[VUID-vkFreeDescriptorSets-pDescriptorSets-00309]]
2731 pname:pDescriptorSets must: have completed execution
2732 * [[VUID-vkFreeDescriptorSets-pDescriptorSets-00310]]
2733 pname:pDescriptorSets must: be a valid pointer to an array of
[all …]
/third_party/glfw/deps/vulkan/
Dvulkan.h2306 …Device device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets);
2307 …escriptorPool descriptorPool, uint32_t descriptorSetCount, const VkDescriptorSet* pDescriptorSets);
2332 …nt32_t firstSet, uint32_t descriptorSetCount, const VkDescriptorSet* pDescriptorSets, uint32_t dyn…
2790 VkDescriptorSet* pDescriptorSets);
2796 const VkDescriptorSet* pDescriptorSets);
2927 const VkDescriptorSet* pDescriptorSets,

123