Home
last modified time | relevance | path

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

12

/external/angle/third_party/VulkanMemoryAllocator/src/
DTests.cpp826 VmaAllocationInfo allocInfo; in AcquireBuffer() local
827 …(g_hAllocator, &bufCreateInfo, &allocCreateInfo, &bufInfo.Buffer, &bufInfo.Allocation, &allocInfo); in AcquireBuffer()
828 bufInfo.MappedPtr = allocInfo.pMappedData; in AcquireBuffer()
877 static void UploadGpuData(const AllocInfo* allocInfo, size_t allocInfoCount) in UploadGpuData() argument
884 const AllocInfo& currAllocInfo = allocInfo[allocInfoIndex]; in UploadGpuData()
1022 static void ValidateGpuData(const AllocInfo* allocInfo, size_t allocInfoCount) in ValidateGpuData() argument
1031 const AllocInfo& currAllocInfo = allocInfo[allocInfoIndex]; in ValidateGpuData()
1049 … const VkDeviceSize validateSize = allocInfo[validateAllocIndex].m_BufferInfo.size; in ValidateGpuData()
1052 uint32_t val = allocInfo[validateAllocIndex].m_StartValue; in ValidateGpuData()
1107 const VkDeviceSize validateSize = allocInfo[validateAllocIndex].m_BufferInfo.size; in ValidateGpuData()
[all …]
DSparseBindingTest.cpp496 std::vector<VmaAllocationInfo> allocInfo{pageCount}; in Init() local
497 …(g_hAllocator, &pageMemReq, &allocCreateInfo, pageCount, m_Allocations.data(), allocInfo.data()) ); in Init()
504 binds[i].memory = allocInfo[i].deviceMemory; in Init()
505 binds[i].memoryOffset = allocInfo[i].offset; in Init()
/external/deqp/external/vulkancts/framework/vulkan/
DvkMemUtil.cpp206 MovePtr<Allocation> SimpleAllocator::allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize … in allocate() argument
210 Move<VkDeviceMemory> mem = allocateMemory(m_vk, m_device, &allocInfo); in allocate()
213 if (isHostVisibleMemory(m_memProps, allocInfo.memoryTypeIndex)) in allocate()
214 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u)); in allocate()
222 VkMemoryAllocateInfo allocInfo = in allocate() local
241 allocInfo.pNext = &allocFlagsInfo; in allocate()
244 Move<VkDeviceMemory> mem = allocateMemory(m_vk, m_device, &allocInfo); in allocate()
249 DE_ASSERT(isHostVisibleMemory(m_memProps, allocInfo.memoryTypeIndex)); in allocate()
250 hostPtr = MovePtr<HostPtr>(new HostPtr(m_vk, m_device, *mem, 0u, allocInfo.allocationSize, 0u)); in allocate()
266 const VkMemoryAllocateInfo allocInfo = in allocateExtended() local
[all …]
DvkRefUtil.cpp161 const VkCommandBufferAllocateInfo allocInfo = in allocateCommandBuffer() local
171 return allocateCommandBuffer(vk, device, &allocInfo); in allocateCommandBuffer()
DvkMemUtil.hpp133 …virtual de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alig…
143 …de::MovePtr<Allocation> allocate (const VkMemoryAllocateInfo& allocInfo, VkDeviceSize alignme…
/external/swiftshader/src/WSI/
DVkSwapchainKHR.cpp120 VkMemoryAllocateInfo allocInfo = {}; in createImages() local
121 allocInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in createImages()
122 allocInfo.allocationSize = 0; in createImages()
123 allocInfo.memoryTypeIndex = 0; in createImages()
136 allocInfo.allocationSize = currentImage.getImage()->getMemoryRequirements().size; in createImages()
138 status = currentImage.allocateAndBindImageMemory(device, allocInfo); in createImages()
/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.cpp449 VkMemoryAllocateInfo allocInfo = in iterate() local
497 allocInfo.allocationSize = memReqs.size; in iterate()
498 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
499 vertexBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate()
569 allocInfo.allocationSize = memReqs.size; in iterate()
570 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
571 indexBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate()
641 allocInfo.allocationSize = memReqs.size; in iterate()
642 allocInfo.memoryTypeIndex = memoryTypeNdx; in iterate()
643 uniformBufferMemory = allocateMemory(vk, *m_deviceGroup, &allocInfo); in iterate()
[all …]
/external/skia/tests/
DVkYcbcrSamplerTest.cpp245 VkMemoryAllocateInfo allocInfo = {}; in createI420Image() local
246 allocInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in createI420Image()
247 allocInfo.allocationSize = requirements.size; in createI420Image()
248 allocInfo.memoryTypeIndex = memoryTypeIndex; in createI420Image()
251 if (fVkAllocateMemory(fDevice, &allocInfo, nullptr, &fImageMemory) != VK_SUCCESS) { in createI420Image()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_utils.cpp73 VkMemoryAllocateInfo allocInfo = {}; in FindAndAllocateCompatibleMemory() local
74 allocInfo.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO; in FindAndAllocateCompatibleMemory()
75 allocInfo.pNext = extraAllocationInfo; in FindAndAllocateCompatibleMemory()
76 allocInfo.memoryTypeIndex = memoryTypeIndex; in FindAndAllocateCompatibleMemory()
77 allocInfo.allocationSize = memoryRequirements.size; in FindAndAllocateCompatibleMemory()
79 ANGLE_VK_TRY(context, deviceMemoryOut->allocate(device, allocInfo)); in FindAndAllocateCompatibleMemory()
DRendererVk.cpp2137 VkCommandBufferAllocateInfo allocInfo = {}; in getCommandBufferOneOff() local
2138 allocInfo.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO; in getCommandBufferOneOff()
2139 allocInfo.level = VK_COMMAND_BUFFER_LEVEL_PRIMARY; in getCommandBufferOneOff()
2140 allocInfo.commandBufferCount = 1; in getCommandBufferOneOff()
2141 allocInfo.commandPool = mOneOffCommandPool.getHandle(); in getCommandBufferOneOff()
2143 ANGLE_VK_TRY(context, commandBufferOut->init(context->getDevice(), allocInfo)); in getCommandBufferOneOff()
Dvk_wrapper.h450 VkResult allocate(VkDevice device, const VkMemoryAllocateInfo &allocInfo);
564 const VkDescriptorSetAllocateInfo &allocInfo,
1297 ANGLE_INLINE VkResult DeviceMemory::allocate(VkDevice device, const VkMemoryAllocateInfo &allocInfo)
1300 return vkAllocateMemory(device, &allocInfo, nullptr, &mHandle);
1578 const VkDescriptorSetAllocateInfo &allocInfo,
1582 return vkAllocateDescriptorSets(device, &allocInfo, descriptorSetsOut);
/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.cpp833 const VkMemoryAllocateInfo allocInfo = in makeSparseImageMemoryBind() local
842 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseImageMemoryBind()
863 const VkMemoryAllocateInfo allocInfo = in makeSparseMemoryBind() local
872 VK_CHECK(vk.allocateMemory(device, &allocInfo, DE_NULL, &deviceMemory)); in makeSparseMemoryBind()
/external/angle/third_party/VulkanMemoryAllocator/
DREADME.md80 VmaAllocationCreateInfo allocInfo = {};
81 allocInfo.usage = VMA_MEMORY_USAGE_GPU_ONLY;
85 vmaCreateBuffer(allocator, &bufferInfo, &allocInfo, &buffer, &allocation, nullptr);
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDrawAndClearTests.cpp606 const VkDescriptorSetAllocateInfo allocInfo = in createAndUpdateDescriptorSet() local
615 m_descriptorSet = allocateDescriptorSet(m_vkd, m_device, &allocInfo); in createAndUpdateDescriptorSet()
1040 const VkDescriptorSetAllocateInfo allocInfo = in createAndUpdateDescriptorSets() local
1049 m_descriptorSet = allocateDescriptorSet(m_vkd, m_device, &allocInfo); in createAndUpdateDescriptorSets()
1056 m_descriptorSetUpdate = allocateDescriptorSet(m_vkd, m_device, &allocInfo); in createAndUpdateDescriptorSets()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDynamicOffsetTests.cpp403 const VkDescriptorSetAllocateInfo allocInfo = in init() local
411 m_descriptorSet = allocateDescriptorSet(vk, vkDevice, &allocInfo); in init()
881 const VkDescriptorSetAllocateInfo allocInfo = in init() local
889 m_descriptorSet = allocateDescriptorSet(vk, vkDevice, &allocInfo); in init()
/external/skia/src/gpu/
DGrAHardwareBufferUtils.cpp447 VkMemoryAllocateInfo allocInfo = { in make_vk_backend_texture() local
456 err = VK_CALL(AllocateMemory(device, &allocInfo, nullptr, &memory)); in make_vk_backend_texture()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrFormatTests.cpp183 const VkDescriptorSetAllocateInfo allocInfo = in createDescriptorSet() local
192 descSet = allocateDescriptorSet(vkd, device, &allocInfo); in createDescriptorSet()
DvktYCbCrViewTests.cpp189 const VkDescriptorSetAllocateInfo allocInfo = in createDescriptorSet() local
198 descSet = allocateDescriptorSet(vkd, device, &allocInfo); in createDescriptorSet()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp800 const VkDescriptorSetAllocateInfo allocInfo = in iterate() local
809 extraResourcesSet = allocateDescriptorSet(vkd, device, &allocInfo); in iterate()
1264 const VkDescriptorSetAllocateInfo allocInfo = in iterate() local
1273 extraResourcesSet = allocateDescriptorSet(vkd, device, &allocInfo); in iterate()
1629 const VkDescriptorSetAllocateInfo allocInfo = in iterate() local
1638 extraResourcesSet = allocateDescriptorSet(vkd, device, &allocInfo); in iterate()
DvktAtomicOperationTests.cpp565 const VkDescriptorSetAllocateInfo allocInfo = in iterate() local
574 extraResourcesSet = allocateDescriptorSet(vkd, device, &allocInfo); in iterate()
/external/vulkan-validation-layers/layers/
Dgpu_validation.cpp1321 VmaAllocationCreateInfo allocInfo = {}; in GpuAllocateValidationResources() local
1322 allocInfo.usage = VMA_MEMORY_USAGE_GPU_TO_CPU; in GpuAllocateValidationResources()
1323 …result = vmaCreateBuffer(gpu_validation_state->vmaAllocator, &bufferInfo, &allocInfo, &output_bloc… in GpuAllocateValidationResources()
1380 allocInfo.usage = VMA_MEMORY_USAGE_CPU_TO_GPU; in GpuAllocateValidationResources()
1382 …result = vmaCreateBuffer(gpu_validation_state->vmaAllocator, &bufferInfo, &allocInfo, &input_block… in GpuAllocateValidationResources()
/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()

12