/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/commonvalidity/ |
D | bind_descriptor_sets_common.adoc | 7 * [[VUID-{refpage}-pDescriptorSets-00358]] 8 Each element of pname:pDescriptorSets must: have been allocated with a 12 pname:pDescriptorSets 15 descriptors in pname:pDescriptorSets 30 * [[VUID-{refpage}-pDescriptorSets-01979]] 32 pname:pDescriptorSets, the sum of the <<dynamic-effective-offset, 35 * [[VUID-{refpage}-pDescriptorSets-06715]] 37 pname:pDescriptorSets, if the range was set with ename:VK_WHOLE_SIZE 41 * [[VUID-{refpage}-pDescriptorSets-04616]] 42 Each element of pname:pDescriptorSets must: not have been allocated from [all …]
|
/third_party/mesa3d/src/virtio/venus-protocol/ |
D | vn_protocol_driver_descriptor_set.h | 497 …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/ |
D | VkDescriptorPool.cpp | 58 …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 …]
|
D | VkDescriptorPool.hpp | 31 …_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);
|
D | VkCommandBuffer.cpp | 974 … 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()
|
D | VkCommandBuffer.hpp | 100 … uint32_t firstSet, uint32_t descriptorSetCount, const VkDescriptorSet *pDescriptorSets,
|
D | libVulkan.cpp | 2293 …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/ |
D | vn_descriptor_set.c | 482 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/ |
D | vk_cmd_enqueue.c | 220 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/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkPlatform.cpp | 266 VkDescriptorSet* pDescriptorSets) const in allocateDescriptorSetsHandlerStat() 273 …pDescriptorSets[i] = Handle<HANDLE_TYPE_DESCRIPTOR_SET>(m_resourceInterface->incResourceCounter()); in allocateDescriptorSetsHandlerStat() 275 m_descriptorSetsInPool[pDescriptorSets[i]] = pAllocateInfo->descriptorPool; in allocateDescriptorSetsHandlerStat() 281 const VkDescriptorSet* pDescriptorSets) const in freeDescriptorSetsHandlerStat() 288 DDSTAT_HANDLE_DESTROY_IF(pDescriptorSets[i], descriptorSetRequestCount, 1); in freeDescriptorSetsHandlerStat() 290 m_descriptorSetsInPool.erase(pDescriptorSets[i]); in freeDescriptorSetsHandlerStat()
|
D | vkPlatform.hpp | 186 VkDescriptorSet* pDescriptorSets) const; 190 const VkDescriptorSet* pDescriptorSets) const;
|
D | vkNullDriver.cpp | 1280 …Sets (VkDevice, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) in allocateDescriptorSets() argument 1288 pDescriptorSets[ndx] = poolImpl->allocate(pAllocateInfo->pSetLayouts[ndx]); in allocateDescriptorSets() 1293 delete reinterpret_cast<DescriptorSet*>((deUintptr)pDescriptorSets[freeNdx].getInternal()); in allocateDescriptorSets() 1300 delete reinterpret_cast<DescriptorSet*>((deUintptr)pDescriptorSets[freeNdx].getInternal()); in allocateDescriptorSets() 1309 …(VkDevice, VkDescriptorPool descriptorPool, deUint32 count, const VkDescriptorSet* pDescriptorSets) in freeDescriptorSets() argument 1314 poolImpl->free(pDescriptorSets[ndx]); in freeDescriptorSets()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_descriptor_set.c | 362 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/ |
D | panvk_descriptor_set.c | 310 const VkDescriptorSet *pDescriptorSets) in panvk_FreeDescriptorSets() argument 316 VK_FROM_HANDLE(panvk_descriptor_set, set, pDescriptorSets[i]); in panvk_FreeDescriptorSets()
|
D | panvk_vX_descriptor_set.c | 352 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()
|
D | panvk_cmd_buffer.c | 117 const VkDescriptorSet *pDescriptorSets, in panvk_CmdBindDescriptorSets() argument 130 VK_FROM_HANDLE(panvk_descriptor_set, set, pDescriptorSets[i]); in panvk_CmdBindDescriptorSets()
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_descriptor_set.c | 1232 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/freedreno/vulkan/ |
D | tu_descriptor_set.c | 802 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/mesa3d/src/broadcom/vulkan/ |
D | v3dv_descriptor_set.c | 922 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/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
D | vktApiNullHandleTests.cpp | 160 …kDescriptorPool descriptorPool, deUint32 numDescriptorSets, const VkDescriptorSet* pDescriptorSets) in release() argument 165 …etDeviceInterface().freeDescriptorSets(device, descriptorPool, numDescriptorSets, pDescriptorSets); in release()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
D | vktApiNullHandleTests.cpp | 160 …kDescriptorPool descriptorPool, deUint32 numDescriptorSets, const VkDescriptorSet* pDescriptorSets) in release() argument 165 …etDeviceInterface().freeDescriptorSets(device, descriptorPool, numDescriptorSets, pDescriptorSets); in release()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_descriptor_set.c | 1277 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()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_descriptor_set.c | 948 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/vulkan-loader/tests/ |
D | loader_threading_tests.cpp | 85 … const VkDescriptorSet* pDescriptorSets, uint32_t dynamicOffsetCount, in test_vkCmdBindDescriptorSets() argument
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_descriptor_set.c | 1592 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()
|