Lines Matching refs:pAllocateInfo
2982 const VkMemoryAllocateInfo* pAllocateInfo, in allocateCoherentMemory() argument
2996 vk_find_struct<VkMemoryAllocateFlagsInfo>(pAllocateInfo); in allocateCoherentMemory()
2998 vk_find_struct<VkMemoryOpaqueCaptureAddressAllocateInfo>(pAllocateInfo); in allocateCoherentMemory()
3010 VkMemoryAllocateInfo hostAllocationInfo = vk_make_orphan_copy(*pAllocateInfo); in allocateCoherentMemory()
3015 ALIGN(pAllocateInfo->allocationSize, mCaps.vulkanCapset.blobAlignment); in allocateCoherentMemory()
3019 hostAllocationInfo.allocationSize = ALIGN(pAllocateInfo->allocationSize, kLargestPageSize); in allocateCoherentMemory()
3021 VkDeviceSize roundedUpAllocSize = ALIGN(pAllocateInfo->allocationSize, kMegaByte); in allocateCoherentMemory()
3090 info.allocationSize = pAllocateInfo->allocationSize; in allocateCoherentMemory()
3104 coherentMemory->subAllocate(pAllocateInfo->allocationSize, &ptr, offset); in allocateCoherentMemory()
3129 coherentMemory->subAllocate(pAllocateInfo->allocationSize, &ptr, offset); in allocateCoherentMemory()
3130 info.allocationSize = pAllocateInfo->allocationSize; in allocateCoherentMemory()
3144 VkResult ResourceTracker::getCoherentMemory(const VkMemoryAllocateInfo* pAllocateInfo, in getCoherentMemory() argument
3152 vk_find_struct<VkMemoryAllocateFlagsInfo>(pAllocateInfo); in getCoherentMemory()
3170 if (info.memoryTypeIndex != pAllocateInfo->memoryTypeIndex) continue; in getCoherentMemory()
3176 if (!info.coherentMemory->subAllocate(pAllocateInfo->allocationSize, &ptr, offset)) in getCoherentMemory()
3186 info.memoryTypeIndex = pAllocateInfo->memoryTypeIndex; in getCoherentMemory()
3187 info.allocationSize = pAllocateInfo->allocationSize; in getCoherentMemory()
3200 return allocateCoherentMemory(device, pAllocateInfo, enc, pMemory); in getCoherentMemory()
3204 const VkMemoryAllocateInfo* pAllocateInfo, in on_vkAllocateMemory() argument
3213 pAllocateInfo->allocationSize, VK_OBJECT_TYPE_DEVICE_MEMORY, 0, \ in on_vkAllocateMemory()
3214 pAllocateInfo->memoryTypeIndex); \ in on_vkAllocateMemory()
3227 memoryObjectId, pAllocateInfo->allocationSize, \ in on_vkAllocateMemory()
3229 pAllocateInfo->memoryTypeIndex); \ in on_vkAllocateMemory()
3237 VkMemoryAllocateInfo finalAllocInfo = vk_make_orphan_copy(*pAllocateInfo); in on_vkAllocateMemory()
3245 vk_find_struct<VkMemoryAllocateFlagsInfo>(pAllocateInfo); in on_vkAllocateMemory()
3247 vk_find_struct<VkMemoryOpaqueCaptureAddressAllocateInfo>(pAllocateInfo); in on_vkAllocateMemory()
3275 vk_find_struct<VkExportMemoryAllocateInfo>(pAllocateInfo); in on_vkAllocateMemory()
3279 vk_find_struct<VkImportAndroidHardwareBufferInfoANDROID>(pAllocateInfo); in on_vkAllocateMemory()
3286 vk_find_struct<VkImportMemoryFdInfoKHR>(pAllocateInfo); in on_vkAllocateMemory()
3293 vk_find_struct<VkImportMemoryBufferCollectionFUCHSIA>(pAllocateInfo); in on_vkAllocateMemory()
3296 vk_find_struct<VkImportMemoryZirconHandleInfoFUCHSIA>(pAllocateInfo); in on_vkAllocateMemory()
3303 vk_find_struct<VkMemoryDedicatedAllocateInfo>(pAllocateInfo); in on_vkAllocateMemory()
3324 isHostVisible(&physicalDeviceMemoryProps, pAllocateInfo->memoryTypeIndex); in on_vkAllocateMemory()
3907 const VkAllocationCallbacks* pAllocateInfo) { in on_vkFreeMemory() argument
3940 enc->vkFreeMemory(device, memory, pAllocateInfo, true /* do lock */); in on_vkFreeMemory()
4889 void* context, VkResult, VkDevice device, const VkDescriptorSetAllocateInfo* pAllocateInfo, in on_vkAllocateDescriptorSets() argument
4892 auto ci = pAllocateInfo; in on_vkAllocateDescriptorSets()
6996 const VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuffer* pCommandBuffers) { in on_vkAllocateCommandBuffers() argument
7001 enc->vkAllocateCommandBuffers(device, pAllocateInfo, pCommandBuffers, true /* do lock */); in on_vkAllocateCommandBuffers()
7004 for (uint32_t i = 0; i < pAllocateInfo->commandBufferCount; ++i) { in on_vkAllocateCommandBuffers()
7006 cb->isSecondary = pAllocateInfo->level == VK_COMMAND_BUFFER_LEVEL_SECONDARY; in on_vkAllocateCommandBuffers()