Home
last modified time | relevance | path

Searched refs:allocInfo (Results 1 – 25 of 33) sorted by relevance

12

/external/deqp/external/vulkancts/framework/vulkan/
DvkMemUtil.cpp200 MovePtr<Allocation> SimpleAllocator::allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize … in allocate() argument
204 Move<VkDeviceMemory> mem = allocateMemory(m_vk, m_device, &allocInfo); in allocate()
207 if (isHostVisibleMemory(m_memProps, allocInfo.memoryTypeIndex)) in allocate()
208 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u)); in allocate()
216 const VkMemoryAllocateInfo allocInfo = in allocate() local
224 Move<VkDeviceMemory> mem = allocateMemory(m_vk, m_device, &allocInfo); in allocate()
229 DE_ASSERT(isHostVisibleMemory(m_memProps, allocInfo.memoryTypeIndex)); in allocate()
230 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u)); in allocate()
246 const VkMemoryAllocateInfo allocInfo = in allocateDedicated() local
253 Move<VkDeviceMemory> mem = allocateMemory(vkd, device, &allocInfo); in allocateDedicated()
[all …]
DvkMemUtil.hpp128 …virtual de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alig…
138 …de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alignme…
DvkRefUtil.cpp124 const VkCommandBufferAllocateInfo allocInfo = in allocateCommandBuffer() local
134 return allocateCommandBuffer(vk, device, &allocInfo); in allocateCommandBuffer()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferComputeInstance.cpp170 const vk::VkDescriptorSetAllocateInfo allocInfo = in createDescriptorSet() local
178 vk::Move<vk::VkDescriptorSet> descriptorSet = allocateDescriptorSet(vki, device, &allocInfo); in createDescriptorSet()
211 const vk::VkDescriptorSetAllocateInfo allocInfo = in createDescriptorSet() local
219 vk::Move<vk::VkDescriptorSet> descriptorSet = allocateDescriptorSet(vki, device, &allocInfo); in createDescriptorSet()
/external/deqp/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp472 VkMemoryAllocateInfo allocInfo = in iterate() local
520 allocInfo.allocationSize = memReqs.size; in iterate()
521 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
522 vertexBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate()
592 allocInfo.allocationSize = memReqs.size; in iterate()
593 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
594 indexBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate()
664 allocInfo.allocationSize = memReqs.size; in iterate()
665 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
666 uniformBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate()
[all …]
/external/skia/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h6675 VMA_DEBUG_LOG(" Created new allocation Size=%llu", allocInfo.allocationSize); in Allocate()
6888 VkMemoryAllocateInfo allocInfo = { VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO }; in CreateBlock() local
6889 allocInfo.memoryTypeIndex = m_MemoryTypeIndex; in CreateBlock()
6890 allocInfo.allocationSize = blockSize; in CreateBlock()
6892 VkResult res = m_hAllocator->AllocateVulkanMemory(&allocInfo, &mem); in CreateBlock()
6905 allocInfo.allocationSize); in CreateBlock()
7119 AllocationInfo allocInfo; in AddAllocation() local
7120 allocInfo.m_hAllocation = hAlloc; in AddAllocation()
7121 allocInfo.m_pChanged = pChanged; in AddAllocation()
7122 m_Allocations.push_back(allocInfo); in AddAllocation()
[all …]
/external/skqp/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h6675 VMA_DEBUG_LOG(" Created new allocation Size=%llu", allocInfo.allocationSize); in Allocate()
6888 VkMemoryAllocateInfo allocInfo = { VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO }; in CreateBlock() local
6889 allocInfo.memoryTypeIndex = m_MemoryTypeIndex; in CreateBlock()
6890 allocInfo.allocationSize = blockSize; in CreateBlock()
6892 VkResult res = m_hAllocator->AllocateVulkanMemory(&allocInfo, &mem); in CreateBlock()
6905 allocInfo.allocationSize); in CreateBlock()
7119 AllocationInfo allocInfo; in AddAllocation() local
7120 allocInfo.m_hAllocation = hAlloc; in AddAllocation()
7121 allocInfo.m_pChanged = pChanged; in AddAllocation()
7122 m_Allocations.push_back(allocInfo); in AddAllocation()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp687 const VkMemoryAllocateInfo allocInfo = in makeSparseImageMemoryBind() local
696 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseImageMemoryBind()
717 const VkMemoryAllocateInfo allocInfo = in makeSparseMemoryBind() local
726 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseMemoryBind()
DvktSparseResourcesBufferTests.cpp224 VkMemoryAllocateInfo allocInfo = in build() local
234 allocInfo.allocationSize = *numChunksIter * chunkSize; in build()
235 …sparseAllocation->allocations.push_back(makeDeSharedPtr(allocator.allocate(allocInfo, (VkDeviceSiz… in build()
/external/skia/src/gpu/
DGrAHardwareBufferUtils.cpp415 VkMemoryAllocateInfo allocInfo = { in make_vk_backend_texture() local
424 err = VK_CALL(AllocateMemory(device, &allocInfo, nullptr, &memory)); in make_vk_backend_texture()
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDrawAndClearTests.cpp608 const VkDescriptorSetAllocateInfo allocInfo = in createAndUpdateDescriptorSet() local
617 m_descriptorSet = allocateDescriptorSet(m_vkd, m_device, &allocInfo); in createAndUpdateDescriptorSet()
1012 const VkDescriptorSetAllocateInfo allocInfo = in createAndUpdateDescriptorSets() local
1021 m_descriptorSet = allocateDescriptorSet(m_vkd, m_device, &allocInfo); in createAndUpdateDescriptorSets()
1028 m_descriptorSetUpdate = allocateDescriptorSet(m_vkd, m_device, &allocInfo); in createAndUpdateDescriptorSets()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDynamicOffsetTests.cpp391 const VkDescriptorSetAllocateInfo allocInfo = in init() local
399 m_descriptorSet = allocateDescriptorSet(vk, vkDevice, &allocInfo); in init()
875 const VkDescriptorSetAllocateInfo allocInfo = in init() local
883 m_descriptorSet = allocateDescriptorSet(vk, vkDevice, &allocInfo); in init()
DvktPipelinePushConstantTests.cpp373 const VkDescriptorSetAllocateInfo allocInfo = in init() local
381 m_descriptorSet = allocateDescriptorSet(vk, vkDevice, &allocInfo); in init()
1767 const VkDescriptorSetAllocateInfo allocInfo = in PushConstantComputeTestInstance() local
1775 m_descriptorSet = allocateDescriptorSet(vk, vkDevice, &allocInfo); in PushConstantComputeTestInstance()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrFormatTests.cpp188 const VkDescriptorSetAllocateInfo allocInfo = in createDescriptorSet() local
197 descSet = allocateDescriptorSet(vkd, device, &allocInfo); in createDescriptorSet()
DvktYCbCrViewTests.cpp278 const VkDescriptorSetAllocateInfo allocInfo = in createDescriptorSet() local
287 descSet = allocateDescriptorSet(vkd, device, &allocInfo); in createDescriptorSet()
DvktYCbCrImageQueryTests.cpp284 const VkDescriptorSetAllocateInfo allocInfo = in createDescriptorSet() local
293 return allocateDescriptorSet(vkd, device, &allocInfo); in createDescriptorSet()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp783 const VkDescriptorSetAllocateInfo allocInfo = in iterate() local
792 extraResourcesSet = allocateDescriptorSet(vkd, device, &allocInfo); in iterate()
1247 const VkDescriptorSetAllocateInfo allocInfo = in iterate() local
1256 extraResourcesSet = allocateDescriptorSet(vkd, device, &allocInfo); in iterate()
1612 const VkDescriptorSetAllocateInfo allocInfo = in iterate() local
1621 extraResourcesSet = allocateDescriptorSet(vkd, device, &allocInfo); in iterate()
DvktAtomicOperationTests.cpp563 const VkDescriptorSetAllocateInfo allocInfo = in iterate() local
572 extraResourcesSet = allocateDescriptorSet(vkd, device, &allocInfo); in iterate()
DvktShaderExecutor.cpp875 const VkDescriptorSetAllocateInfo allocInfo = in allocateSingleDescriptorSet() local
883 return allocateDescriptorSet(vkd, device, &allocInfo); in allocateSingleDescriptorSet()
2362 const VkDescriptorSetAllocateInfo allocInfo = in execute() local
2371 descriptorSet = allocateDescriptorSet(vk, vkDevice, &allocInfo); in execute()
2707 const VkDescriptorSetAllocateInfo allocInfo = in renderTess() local
2716 descriptorSet = allocateDescriptorSet(vk, vkDevice, &allocInfo); in renderTess()
/external/skqp/src/gpu/
DGrAHardwareBufferImageGenerator.cpp295 VkMemoryAllocateInfo allocInfo = { in make_vk_backend_texture() local
304 err = VK_CALL(AllocateMemory(device, &allocInfo, nullptr, &memory)); in make_vk_backend_texture()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderCase.cpp252 const VkDescriptorSetAllocateInfo allocInfo = in createDescriptorSet() local
261 Move<VkDescriptorSet> descriptorSet = allocateDescriptorSet(vkdi, device, &allocInfo); in createDescriptorSet()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryAllocationTests.cpp432 const VkMemoryAllocateInfo allocInfo = in iterate() local
439 const Unique<VkDeviceMemory> memory (allocateMemory(vk, device, &allocInfo)); in iterate()
DvktMemoryExternalMemoryHostTests.cpp530 const VkDescriptorSetAllocateInfo allocInfo = in createAndUpdateDescriptorSet() local
539 descriptorSet = allocateDescriptorSet(m_vkd, m_device, &allocInfo); in createAndUpdateDescriptorSet()
DvktMemoryBindingTests.cpp401 const VkCommandBufferAllocateInfo allocInfo = in createCommandBuffer() local
409 return allocateCommandBuffer(vk, device, &allocInfo); in createCommandBuffer()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringExplicitLodTests.cpp883 const VkDescriptorSetAllocateInfo allocInfo = in createResources() local
892 m_extraResourcesSet = allocateDescriptorSet(vkd, device, &allocInfo); in createResources()

12