Home
last modified time | relevance | path

Searched refs:pAllocateInfo (Results 1 - 25 of 62) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkDeviceMemory.cpp85 VkResult DeviceMemory::Allocate(const VkAllocationCallbacks *pAllocator, const VkMemoryAllocateInfo *pAllocateInfo, VkDeviceMemory *pMemory, Device *device) in Allocate() argument
90 VkResult result = vk::DeviceMemory::ParseAllocationInfo(pAllocateInfo, &extendedAllocationInfo); in Allocate()
96 result = Allocate(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo, device); in Allocate()
106 VkResult DeviceMemory::Allocate(const VkAllocationCallbacks *pAllocator, const VkMemoryAllocateInfo *pAllocateInfo, VkDeviceMemory *pMemory, in Allocate() argument
112 return AHardwareBufferExternalMemory::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo, device); in Allocate()
118 return OpaqueFdExternalMemory::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo, device); in Allocate()
124 return zircon::VmoExternalMemory::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo, device); in Allocate()
129 return ExternalMemoryHost::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo, device); in Allocate()
132 return vk::DeviceMemoryInternal::Create(pAllocator, pAllocateInfo, pMemory, extendedAllocationInfo, device); in Allocate()
135 DeviceMemory::DeviceMemory(const VkMemoryAllocateInfo *pAllocateInfo, Devic argument
157 ComputeRequiredAllocationSize(const VkMemoryAllocateInfo *pAllocateInfo) ComputeRequiredAllocationSize() argument
162 ParseAllocationInfo(const VkMemoryAllocateInfo *pAllocateInfo, DeviceMemory::ExtendedAllocationInfo *extendedAllocationInfo) ParseAllocationInfo() argument
[all...]
H A DVkDeviceMemory.hpp52 static VkResult Allocate(const VkAllocationCallbacks *pAllocator, const VkMemoryAllocateInfo *pAllocateInfo, VkDeviceMemory *pMemory, Device *device);
126 static VkResult ParseAllocationInfo(const VkMemoryAllocateInfo *pAllocateInfo, DeviceMemory::ExtendedAllocationInfo *extendedAllocationInfo);
127 static VkResult Allocate(const VkAllocationCallbacks *pAllocator, const VkMemoryAllocateInfo *pAllocateInfo, VkDeviceMemory *pMemory,
/third_party/mesa3d/src/virtio/venus-protocol/
H A Dvn_protocol_driver_descriptor_set.h497 static inline size_t vn_sizeof_vkAllocateDescriptorSets(VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) in vn_sizeof_vkAllocateDescriptorSets() argument
504 cmd_size += vn_sizeof_simple_pointer(pAllocateInfo); in vn_sizeof_vkAllocateDescriptorSets()
505 if (pAllocateInfo) in vn_sizeof_vkAllocateDescriptorSets()
506 cmd_size += vn_sizeof_VkDescriptorSetAllocateInfo(pAllocateInfo); in vn_sizeof_vkAllocateDescriptorSets()
508 cmd_size += vn_sizeof_array_size((pAllocateInfo ? pAllocateInfo->descriptorSetCount : 0)); in vn_sizeof_vkAllocateDescriptorSets()
509 for (uint32_t i = 0; i < (pAllocateInfo ? pAllocateInfo->descriptorSetCount : 0); i++) in vn_sizeof_vkAllocateDescriptorSets()
518 static inline void vn_encode_vkAllocateDescriptorSets(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) in vn_encode_vkAllocateDescriptorSets() argument
526 if (vn_encode_simple_pointer(enc, pAllocateInfo)) in vn_encode_vkAllocateDescriptorSets()
537 vn_sizeof_vkAllocateDescriptorSets_reply(VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) vn_sizeof_vkAllocateDescriptorSets_reply() argument
557 vn_decode_vkAllocateDescriptorSets_reply(struct vn_cs_decoder *dec, VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) vn_decode_vkAllocateDescriptorSets_reply() argument
729 vn_submit_vkAllocateDescriptorSets(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets, struct vn_instance_submit_command *submit) vn_submit_vkAllocateDescriptorSets() argument
792 vn_call_vkAllocateDescriptorSets(struct vn_instance *vn_instance, VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) vn_call_vkAllocateDescriptorSets() argument
808 vn_async_vkAllocateDescriptorSets(struct vn_instance *vn_instance, VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) vn_async_vkAllocateDescriptorSets() argument
[all...]
H A Dvn_protocol_driver_device_memory.h538 static inline size_t vn_sizeof_vkAllocateMemory(VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) in vn_sizeof_vkAllocateMemory() argument
545 cmd_size += vn_sizeof_simple_pointer(pAllocateInfo); in vn_sizeof_vkAllocateMemory()
546 if (pAllocateInfo) in vn_sizeof_vkAllocateMemory()
547 cmd_size += vn_sizeof_VkMemoryAllocateInfo(pAllocateInfo); in vn_sizeof_vkAllocateMemory()
558 static inline void vn_encode_vkAllocateMemory(struct vn_cs_encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) in vn_encode_vkAllocateMemory() argument
566 if (vn_encode_simple_pointer(enc, pAllocateInfo)) in vn_encode_vkAllocateMemory()
567 vn_encode_VkMemoryAllocateInfo(enc, pAllocateInfo); in vn_encode_vkAllocateMemory()
574 static inline size_t vn_sizeof_vkAllocateMemory_reply(VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) in vn_sizeof_vkAllocateMemory_reply() argument
582 /* skip pAllocateInfo */ in vn_sizeof_vkAllocateMemory_reply()
591 static inline VkResult vn_decode_vkAllocateMemory_reply(struct vn_cs_decoder *dec, VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, cons argument
945 vn_submit_vkAllocateMemory(struct vn_instance *vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory, struct vn_instance_submit_command *submit) vn_submit_vkAllocateMemory() argument
1092 vn_call_vkAllocateMemory(struct vn_instance *vn_instance, VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) vn_call_vkAllocateMemory() argument
1108 vn_async_vkAllocateMemory(struct vn_instance *vn_instance, VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) vn_async_vkAllocateMemory() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkRefUtil.cpp80 Move<VkCommandBuffer> allocateCommandBuffer (const DeviceInterface& vk, VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo) in allocateCommandBuffer() argument
83 DE_ASSERT(pAllocateInfo->commandBufferCount == 1u); in allocateCommandBuffer()
84 VK_CHECK(vk.allocateCommandBuffers(device, pAllocateInfo, &object)); in allocateCommandBuffer()
85 return Move<VkCommandBuffer>(check<VkCommandBuffer>(object), Deleter<VkCommandBuffer>(vk, device, pAllocateInfo->commandPool)); in allocateCommandBuffer()
88 void allocateCommandBuffers (const DeviceInterface& vk, VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, Move<VkCommandBuffer> *pCommandBuffers) in allocateCommandBuffers() argument
90 VkCommandBufferAllocateInfo allocateInfoCopy = *pAllocateInfo; in allocateCommandBuffers()
92 for (uint32_t i = 0; i < pAllocateInfo->commandBufferCount; ++i) { in allocateCommandBuffers()
95 pCommandBuffers[i] = Move<VkCommandBuffer>(check<VkCommandBuffer>(object), Deleter<VkCommandBuffer>(vk, device, pAllocateInfo->commandPool)); in allocateCommandBuffers()
99 Move<VkDescriptorSet> allocateDescriptorSet (const DeviceInterface& vk, VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo) in allocateDescriptorSet() argument
102 DE_ASSERT(pAllocateInfo in allocateDescriptorSet()
201 createEvent(const DeviceInterface& vk, VkDevice device, VkEventCreateFlags flags, const VkAllocationCallbacks* pAllocateInfo) createEvent() argument
[all...]
H A DvkRefUtil.hpp58 Move<VkCommandBuffer> allocateCommandBuffer (const DeviceInterface& vk, VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo);
59 void allocateCommandBuffers (const DeviceInterface& vk, VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, Move<VkCommandBuffer> *pCommandBuffers);
60 Move<VkDescriptorSet> allocateDescriptorSet (const DeviceInterface& vk, VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo);
93 const VkAllocationCallbacks* pAllocateInfo = DE_NULL);
H A DvkNullDriver.cpp1251 VKAPI_ATTR VkResult VKAPI_CALL allocateMemory (VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) in allocateMemory() argument
1254 const VkExportMemoryAllocateInfo* const exportInfo = findStructure<VkExportMemoryAllocateInfo>(pAllocateInfo->pNext); in allocateMemory()
1255 const VkImportAndroidHardwareBufferInfoANDROID* const importInfo = findStructure<VkImportAndroidHardwareBufferInfoANDROID>(pAllocateInfo->pNext); in allocateMemory()
1261 VK_NULL_RETURN((*pMemory = allocateNonDispHandle<ExternalDeviceMemoryAndroid, DeviceMemory, VkDeviceMemory>(device, pAllocateInfo, pAllocator))); in allocateMemory()
1268 VK_NULL_RETURN((*pMemory = allocateNonDispHandle<PrivateDeviceMemory, DeviceMemory, VkDeviceMemory>(device, pAllocateInfo, pAllocator))); in allocateMemory()
1271 VK_NULL_RETURN((*pMemory = allocateNonDispHandle<PrivateDeviceMemory, DeviceMemory, VkDeviceMemory>(device, pAllocateInfo, pAllocator))); in allocateMemory()
1319 VKAPI_ATTR VkResult VKAPI_CALL allocateDescriptorSets (VkDevice, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) in allocateDescriptorSets() argument
1321 DescriptorPool* const poolImpl = reinterpret_cast<DescriptorPool*>((deUintptr)pAllocateInfo->descriptorPool.getInternal()); in allocateDescriptorSets()
1323 for (deUint32 ndx = 0; ndx < pAllocateInfo->descriptorSetCount; ++ndx) in allocateDescriptorSets()
1327 pDescriptorSets[ndx] = poolImpl->allocate(pAllocateInfo in allocateDescriptorSets()
1365 allocateCommandBuffers(VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuffer* pCommandBuffers) allocateCommandBuffers() argument
[all...]
H A DvkPlatform.cpp271 const VkDescriptorSetAllocateInfo* pAllocateInfo, in allocateDescriptorSetsHandlerStat()
277 DDSTAT_HANDLE_CREATE(descriptorSetRequestCount, pAllocateInfo->descriptorSetCount); in allocateDescriptorSetsHandlerStat()
278 for (deUint32 i = 0; i < pAllocateInfo->descriptorSetCount; ++i) in allocateDescriptorSetsHandlerStat()
280 for (deUint32 i = 0; i < pAllocateInfo->descriptorSetCount; ++i) in allocateDescriptorSetsHandlerStat()
281 m_descriptorSetsInPool[pDescriptorSets[i]] = pAllocateInfo->descriptorPool; in allocateDescriptorSetsHandlerStat()
791 const VkCommandBufferAllocateInfo* pAllocateInfo, in allocateCommandBuffersHandler()
795 DDSTAT_HANDLE_CREATE(commandBufferRequestCount, pAllocateInfo->commandBufferCount); in allocateCommandBuffersHandler()
796 for (deUint32 i = 0; i < pAllocateInfo->commandBufferCount; ++i) in allocateCommandBuffersHandler()
798 m_resourceInterface->allocateCommandBuffers(device, pAllocateInfo, pCommandBuffers); in allocateCommandBuffersHandler()
270 allocateDescriptorSetsHandlerStat(VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) const allocateDescriptorSetsHandlerStat() argument
790 allocateCommandBuffersHandler(VkDevice device, const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuffer* pCommandBuffers) const allocateCommandBuffersHandler() argument
/third_party/mesa3d/src/gallium/frontends/lavapipe/
H A Dlvp_cmd_buffer.c74 const VkCommandBufferAllocateInfo* pAllocateInfo, in lvp_AllocateCommandBuffers()
78 LVP_FROM_HANDLE(lvp_cmd_pool, pool, pAllocateInfo->commandPool); in lvp_AllocateCommandBuffers()
83 for (i = 0; i < pAllocateInfo->commandBufferCount; i++) { in lvp_AllocateCommandBuffers()
95 pAllocateInfo->level); in lvp_AllocateCommandBuffers()
101 result = lvp_create_cmd_buffer(device, pool, pAllocateInfo->level, in lvp_AllocateCommandBuffers()
109 lvp_FreeCommandBuffers(_device, pAllocateInfo->commandPool, in lvp_AllocateCommandBuffers()
112 sizeof(*pCommandBuffers) * pAllocateInfo->commandBufferCount); in lvp_AllocateCommandBuffers()
72 lvp_AllocateCommandBuffers( VkDevice _device, const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuffer* pCommandBuffers) lvp_AllocateCommandBuffers() argument
H A Dlvp_descriptor_set.c361 const VkDescriptorSetAllocateInfo* pAllocateInfo, in lvp_AllocateDescriptorSets()
365 LVP_FROM_HANDLE(lvp_descriptor_pool, pool, pAllocateInfo->descriptorPool); in lvp_AllocateDescriptorSets()
370 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in lvp_AllocateDescriptorSets()
372 pAllocateInfo->pSetLayouts[i]); in lvp_AllocateDescriptorSets()
383 lvp_FreeDescriptorSets(_device, pAllocateInfo->descriptorPool, in lvp_AllocateDescriptorSets()
359 lvp_AllocateDescriptorSets( VkDevice _device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) lvp_AllocateDescriptorSets() argument
H A Dlvp_device.c1625 const VkMemoryAllocateInfo* pAllocateInfo, in lvp_AllocateMemory()
1635 assert(pAllocateInfo->sType == VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO); in lvp_AllocateMemory()
1637 if (pAllocateInfo->allocationSize == 0) { in lvp_AllocateMemory()
1643 vk_foreach_struct_const(ext, pAllocateInfo->pNext) { in lvp_AllocateMemory()
1691 if(size < pAllocateInfo->allocationSize) { in lvp_AllocateMemory()
1705 mem->pmem = device->pscreen->allocate_memory_fd(device->pscreen, pAllocateInfo->allocationSize, &mem->backed_fd); in lvp_AllocateMemory()
1713 mem->pmem = device->pscreen->allocate_memory(device->pscreen, pAllocateInfo->allocationSize); in lvp_AllocateMemory()
1719 memset(mem->pmem, UINT8_MAX / 2 + 1, pAllocateInfo->allocationSize); in lvp_AllocateMemory()
1722 mem->type_index = pAllocateInfo->memoryTypeIndex; in lvp_AllocateMemory()
1623 lvp_AllocateMemory( VkDevice _device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMem) lvp_AllocateMemory() argument
/third_party/mesa3d/src/virtio/vulkan/
H A Dvn_device_memory.c404 const VkMemoryAllocateInfo *pAllocateInfo, in vn_AllocateMemory()
416 mem_props->memoryTypes[pAllocateInfo->memoryTypeIndex].propertyFlags; in vn_AllocateMemory()
423 vk_foreach_struct_const(pnext, pAllocateInfo->pNext) { in vn_AllocateMemory()
451 mem->size = pAllocateInfo->allocationSize; in vn_AllocateMemory()
457 result = vn_android_device_import_ahb(dev, mem, pAllocateInfo, alloc, in vn_AllocateMemory()
460 result = vn_android_device_allocate_ahb(dev, mem, pAllocateInfo, alloc); in vn_AllocateMemory()
462 result = vn_device_memory_import_dma_buf(dev, mem, pAllocateInfo, false, in vn_AllocateMemory()
465 result = vn_device_memory_alloc(dev, mem, pAllocateInfo, in vn_AllocateMemory()
467 } else if (vn_device_memory_should_suballocate(dev, pAllocateInfo, in vn_AllocateMemory()
470 dev, mem, pAllocateInfo in vn_AllocateMemory()
403 vn_AllocateMemory(VkDevice device, const VkMemoryAllocateInfo *pAllocateInfo, const VkAllocationCallbacks *pAllocator, VkDeviceMemory *pMemory) vn_AllocateMemory() argument
[all...]
H A Dvn_descriptor_set.c481 const VkDescriptorSetAllocateInfo *pAllocateInfo, in vn_AllocateDescriptorSets()
487 vn_descriptor_pool_from_handle(pAllocateInfo->descriptorPool); in vn_AllocateDescriptorSets()
499 pAllocateInfo->pNext, in vn_AllocateDescriptorSets()
505 for (uint32_t i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in vn_AllocateDescriptorSets()
507 vn_descriptor_set_layout_from_handle(pAllocateInfo->pSetLayouts[i]); in vn_AllocateDescriptorSets()
567 vn_async_vkAllocateDescriptorSets(dev->instance, device, pAllocateInfo, in vn_AllocateDescriptorSets()
571 dev->instance, device, pAllocateInfo, pDescriptorSets); in vn_AllocateDescriptorSets()
579 for (uint32_t i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in vn_AllocateDescriptorSets()
592 sizeof(*pDescriptorSets) * pAllocateInfo->descriptorSetCount); in vn_AllocateDescriptorSets()
480 vn_AllocateDescriptorSets(VkDevice device, const VkDescriptorSetAllocateInfo *pAllocateInfo, VkDescriptorSet *pDescriptorSets) vn_AllocateDescriptorSets() argument
/third_party/mesa3d/src/intel/vulkan/
H A Danv_android_stubs.c60 const VkMemoryAllocateInfo *pAllocateInfo) in anv_create_ahw_memory()
58 anv_create_ahw_memory(VkDevice device_h, struct anv_device_memory *mem, const VkMemoryAllocateInfo *pAllocateInfo) anv_create_ahw_memory() argument
H A Danv_android.h56 const VkMemoryAllocateInfo *pAllocateInfo);
H A Danv_android.c419 const VkMemoryAllocateInfo *pAllocateInfo) in anv_create_ahw_memory()
423 vk_find_struct_const(pAllocateInfo->pNext, in anv_create_ahw_memory()
447 w = pAllocateInfo->allocationSize; in anv_create_ahw_memory()
417 anv_create_ahw_memory(VkDevice device_h, struct anv_device_memory *mem, const VkMemoryAllocateInfo *pAllocateInfo) anv_create_ahw_memory() argument
H A Danv_descriptor_set.c1276 const VkDescriptorSetAllocateInfo* pAllocateInfo, in anv_AllocateDescriptorSets()
1280 ANV_FROM_HANDLE(anv_descriptor_pool, pool, pAllocateInfo->descriptorPool); in anv_AllocateDescriptorSets()
1287 vk_find_struct_const(pAllocateInfo->pNext, in anv_AllocateDescriptorSets()
1290 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in anv_AllocateDescriptorSets()
1292 pAllocateInfo->pSetLayouts[i]); in anv_AllocateDescriptorSets()
1296 assert(vdcai->descriptorSetCount == pAllocateInfo->descriptorSetCount); in anv_AllocateDescriptorSets()
1309 anv_FreeDescriptorSets(_device, pAllocateInfo->descriptorPool, in anv_AllocateDescriptorSets()
1318 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) in anv_AllocateDescriptorSets()
1274 anv_AllocateDescriptorSets( VkDevice _device, const VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) anv_AllocateDescriptorSets() argument
H A Danv_cmd_buffer.c150 const VkCommandBufferAllocateInfo* pAllocateInfo, in anv_AllocateCommandBuffers()
154 VK_FROM_HANDLE(vk_command_pool, pool, pAllocateInfo->commandPool); in anv_AllocateCommandBuffers()
159 for (i = 0; i < pAllocateInfo->commandBufferCount; i++) { in anv_AllocateCommandBuffers()
160 result = anv_create_cmd_buffer(device, pool, pAllocateInfo->level, in anv_AllocateCommandBuffers()
171 for (i = 0; i < pAllocateInfo->commandBufferCount; i++) in anv_AllocateCommandBuffers()
148 anv_AllocateCommandBuffers( VkDevice _device, const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuffer* pCommandBuffers) anv_AllocateCommandBuffers() argument
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_vX_descriptor_set.c351 const VkDescriptorSetAllocateInfo *pAllocateInfo, in AllocateDescriptorSets()
355 VK_FROM_HANDLE(panvk_descriptor_pool, pool, pAllocateInfo->descriptorPool); in AllocateDescriptorSets()
359 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in AllocateDescriptorSets()
361 pAllocateInfo->pSetLayouts[i]); in AllocateDescriptorSets()
374 panvk_FreeDescriptorSets(_device, pAllocateInfo->descriptorPool, i, pDescriptorSets); in AllocateDescriptorSets()
375 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) in AllocateDescriptorSets()
350 AllocateDescriptorSets(VkDevice _device, const VkDescriptorSetAllocateInfo *pAllocateInfo, VkDescriptorSet *pDescriptorSets) AllocateDescriptorSets() argument
H A Dpanvk_device.c1155 const VkMemoryAllocateInfo *pAllocateInfo, in panvk_AllocateMemory()
1162 assert(pAllocateInfo->sType == VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO); in panvk_AllocateMemory()
1164 if (pAllocateInfo->allocationSize == 0) { in panvk_AllocateMemory()
1176 vk_find_struct_const(pAllocateInfo->pNext, in panvk_AllocateMemory()
1198 pAllocateInfo->allocationSize, 0, in panvk_AllocateMemory()
1154 panvk_AllocateMemory(VkDevice _device, const VkMemoryAllocateInfo *pAllocateInfo, const VkAllocationCallbacks *pAllocator, VkDeviceMemory *pMem) panvk_AllocateMemory() argument
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_android.c764 unsigned priority, const VkMemoryAllocateInfo *pAllocateInfo) in radv_create_ahb_memory()
768 vk_find_struct_const(pAllocateInfo->pNext, MEMORY_DEDICATED_ALLOCATE_INFO); in radv_create_ahb_memory()
790 w = pAllocateInfo->allocationSize; in radv_create_ahb_memory()
763 radv_create_ahb_memory(struct radv_device *device, struct radv_device_memory *mem, unsigned priority, const VkMemoryAllocateInfo *pAllocateInfo) radv_create_ahb_memory() argument
H A Dradv_descriptor_set.c947 radv_AllocateDescriptorSets(VkDevice _device, const VkDescriptorSetAllocateInfo *pAllocateInfo, in radv_AllocateDescriptorSets() argument
951 RADV_FROM_HANDLE(radv_descriptor_pool, pool, pAllocateInfo->descriptorPool); in radv_AllocateDescriptorSets()
958 pAllocateInfo->pNext, DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO); in radv_AllocateDescriptorSets()
962 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in radv_AllocateDescriptorSets()
963 RADV_FROM_HANDLE(radv_descriptor_set_layout, layout, pAllocateInfo->pSetLayouts[i]); in radv_AllocateDescriptorSets()
983 radv_FreeDescriptorSets(_device, pAllocateInfo->descriptorPool, i, pDescriptorSets); in radv_AllocateDescriptorSets()
984 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in radv_AllocateDescriptorSets()
/third_party/mesa3d/src/microsoft/vulkan/
H A Ddzn_device.c2237 const VkMemoryAllocateInfo *pAllocateInfo, in dzn_device_memory_create()
2253 assert(pAllocateInfo->allocationSize > 0); in dzn_device_memory_create()
2255 mem->size = pAllocateInfo->allocationSize; in dzn_device_memory_create()
2260 vk_foreach_struct_const(ext, pAllocateInfo->pNext) { in dzn_device_memory_create()
2286 &pdevice->memory.memoryTypes[pAllocateInfo->memoryTypeIndex]; in dzn_device_memory_create()
2290 heap_desc.SizeInBytes = pAllocateInfo->allocationSize; in dzn_device_memory_create()
2307 pAllocateInfo->memoryTypeIndex); in dzn_device_memory_create()
2362 const VkMemoryAllocateInfo *pAllocateInfo, in dzn_AllocateMemory()
2367 pAllocateInfo, pAllocator, pMem); in dzn_AllocateMemory()
2236 dzn_device_memory_create(struct dzn_device *device, const VkMemoryAllocateInfo *pAllocateInfo, const VkAllocationCallbacks *pAllocator, VkDeviceMemory *out) dzn_device_memory_create() argument
2361 dzn_AllocateMemory(VkDevice device, const VkMemoryAllocateInfo *pAllocateInfo, const VkAllocationCallbacks *pAllocator, VkDeviceMemory *pMem) dzn_AllocateMemory() argument
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_descriptor_set.c801 const VkDescriptorSetAllocateInfo *pAllocateInfo, in tu_AllocateDescriptorSets()
805 TU_FROM_HANDLE(tu_descriptor_pool, pool, pAllocateInfo->descriptorPool); in tu_AllocateDescriptorSets()
812 vk_find_struct_const(pAllocateInfo->pNext, DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO); in tu_AllocateDescriptorSets()
816 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in tu_AllocateDescriptorSets()
818 pAllocateInfo->pSetLayouts[i]); in tu_AllocateDescriptorSets()
838 tu_FreeDescriptorSets(_device, pAllocateInfo->descriptorPool, in tu_AllocateDescriptorSets()
840 for (i = 0; i < pAllocateInfo->descriptorSetCount; i++) { in tu_AllocateDescriptorSets()
800 tu_AllocateDescriptorSets(VkDevice _device, const VkDescriptorSetAllocateInfo *pAllocateInfo, VkDescriptorSet *pDescriptorSets) tu_AllocateDescriptorSets() argument
/third_party/mesa3d/src/imagination/vulkan/
H A Dpvr_device.c1737 const VkMemoryAllocateInfo *pAllocateInfo, in pvr_AllocateMemory()
1747 assert(pAllocateInfo->sType == VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO); in pvr_AllocateMemory()
1748 assert(pAllocateInfo->allocationSize > 0); in pvr_AllocateMemory()
1757 vk_foreach_struct_const (ext, pAllocateInfo->pNext) { in pvr_AllocateMemory()
1773 ALIGN_POT(pAllocateInfo->allocationSize, device->ws->page_size); in pvr_AllocateMemory()
1798 pAllocateInfo->allocationSize, in pvr_AllocateMemory()
1822 * device->pdevice->memory.memoryTypes[pAllocateInfo->memoryTypeIndex].propertyFlags. in pvr_AllocateMemory()
1825 * types as an array that's indexed by pAllocateInfo->memoryTypeIndex so in pvr_AllocateMemory()
1829 pAllocateInfo->allocationSize, in pvr_AllocateMemory()
1736 pvr_AllocateMemory(VkDevice _device, const VkMemoryAllocateInfo *pAllocateInfo, const VkAllocationCallbacks *pAllocator, VkDeviceMemory *pMem) pvr_AllocateMemory() argument

Completed in 38 milliseconds

123