Home
last modified time | relevance | path

Searched refs:heapIndex (Results 1 – 25 of 79) sorted by relevance

1234

/external/angle/third_party/vulkan_memory_allocator/docs/
DRecording file format.md57 PhysicalDeviceMemory,Type,<index:uint32>,heapIndex,<uint32>
304 PhysicalDeviceMemory,Type,0,heapIndex,0
306 PhysicalDeviceMemory,Type,1,heapIndex,1
308 PhysicalDeviceMemory,Type,2,heapIndex,2
310 PhysicalDeviceMemory,Type,3,heapIndex,1
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemWsiSwapchainTests.cpp325 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases() local
330 (protectedHeapMask & (1u << heapIndex)) == 0) in generateSwapchainParameterCases()
332 protectedHeapSize = de::max(protectedHeapSize, memoryProperties.memoryHeaps[heapIndex].size); in generateSwapchainParameterCases()
334 protectedHeapMask |= 1u << heapIndex; in generateSwapchainParameterCases()
365 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases() local
370 protectedHeapSize = de::max(protectedHeapSize, memoryProperties.memoryHeaps[heapIndex].size); in generateSwapchainParameterCases()
440 deUint32 heapIndex = memoryProperties.memoryTypes[memType].heapIndex; in generateSwapchainParameterCases() local
445 protectedHeapSize = de::max(protectedHeapSize, memoryProperties.memoryHeaps[heapIndex].size); in generateSwapchainParameterCases()
/external/angle/third_party/vulkan_memory_allocator/src/
Dvk_mem_alloc.h7645 for(uint32_t heapIndex = 0; heapIndex < VK_MAX_MEMORY_HEAPS; ++heapIndex) in VmaCurrentBudgetData() local
7647 m_BlockBytes[heapIndex] = 0; in VmaCurrentBudgetData()
7648 m_AllocationBytes[heapIndex] = 0; in VmaCurrentBudgetData()
7650 m_VulkanUsage[heapIndex] = 0; in VmaCurrentBudgetData()
7651 m_VulkanBudget[heapIndex] = 0; in VmaCurrentBudgetData()
7652 m_BlockBytesAtBudgetFetch[heapIndex] = 0; in VmaCurrentBudgetData()
7661 void AddAllocation(uint32_t heapIndex, VkDeviceSize allocationSize) in AddAllocation()
7663 m_AllocationBytes[heapIndex] += allocationSize; in AddAllocation()
7669 void RemoveAllocation(uint32_t heapIndex, VkDeviceSize allocationSize) in RemoveAllocation()
7671 VMA_ASSERT(m_AllocationBytes[heapIndex] >= allocationSize); // DELME in RemoveAllocation()
[all …]
/external/skia/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h7626 for(uint32_t heapIndex = 0; heapIndex < VK_MAX_MEMORY_HEAPS; ++heapIndex) in VmaCurrentBudgetData() local
7628 m_BlockBytes[heapIndex] = 0; in VmaCurrentBudgetData()
7629 m_AllocationBytes[heapIndex] = 0; in VmaCurrentBudgetData()
7631 m_VulkanUsage[heapIndex] = 0; in VmaCurrentBudgetData()
7632 m_VulkanBudget[heapIndex] = 0; in VmaCurrentBudgetData()
7633 m_BlockBytesAtBudgetFetch[heapIndex] = 0; in VmaCurrentBudgetData()
7642 void AddAllocation(uint32_t heapIndex, VkDeviceSize allocationSize) in AddAllocation()
7644 m_AllocationBytes[heapIndex] += allocationSize; in AddAllocation()
7650 void RemoveAllocation(uint32_t heapIndex, VkDeviceSize allocationSize) in RemoveAllocation()
7652 VMA_ASSERT(m_AllocationBytes[heapIndex] >= allocationSize); // DELME in RemoveAllocation()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesBufferSparseBinding.cpp184 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local
185 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
DvktSparseResourcesBufferSparseResidency.cpp225 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local
226 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
DvktSparseResourcesBufferMemoryAliasing.cpp239 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local
240 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
DvktSparseResourcesImageSparseBinding.cpp236 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local
237 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
DvktSparseResourcesBufferTests.cpp95 deUint32 heapIndex; //!< memory heap index member
256 …sparseAllocation->heapIndex = getHeapIndexForMemoryType(instanceInterface, physicalDevice, memor… in build()
895 …vk.getDeviceGroupPeerMemoryFeatures(getDevice(), sparseAllocation->heapIndex, firstDeviceID, secon… in iterate()
1184 …vk.getDeviceGroupPeerMemoryFeatures(getDevice(), m_sparseAllocation->heapIndex, firstDeviceID, sec… in iterate()
DvktSparseResourcesMipmapSparseResidency.cpp244 …const deUint32 heapIndex = getHeapIndexForMemoryType(instance, getPhysicalDevice(secondDeviceID… in iterate() local
245 …deviceInterface.getDeviceGroupPeerMemoryFeatures(getDevice(), heapIndex, firstDeviceID, secondDevi… in iterate()
/external/swiftshader/src/Vulkan/
DVkPromotedExtensions.cpp78 …PI_CALL vkGetDeviceGroupPeerMemoryFeaturesKHR(VkDevice device, uint32_t heapIndex, uint32_t localD… in vkGetDeviceGroupPeerMemoryFeaturesKHR() argument
80 …vkGetDeviceGroupPeerMemoryFeatures(device, heapIndex, localDeviceIndex, remoteDeviceIndex, pPeerMe… in vkGetDeviceGroupPeerMemoryFeaturesKHR()
DVkDevice.cpp461 …oryObjectId, VkDeviceSize size, VkObjectType objectType, uint64_t objectHandle, uint32_t heapIndex) in emitDeviceMemoryReport() argument
474 heapIndex, // heapIndex in emitDeviceMemoryReport()
DVkDevice.hpp174 …jectId, VkDeviceSize size, VkObjectType objectType, uint64_t objectHandle, uint32_t heapIndex = 0);
/external/skqp/third_party/vulkanmemoryallocator/include/
Dvk_mem_alloc.h4429 return m_MemProps.memoryTypes[memTypeIndex].heapIndex; in MemoryTypeIndexToHeapIndex()
7418 for(uint32_t heapIndex = 0; heapIndex < GetMemoryHeapCount(); ++heapIndex) in VmaAllocator_T() local
7420 const VkDeviceSize limit = pCreateInfo->pHeapSizeLimit[heapIndex]; in VmaAllocator_T()
7423 m_HeapSizeLimit[heapIndex] = limit; in VmaAllocator_T()
7424 if(limit < m_MemProps.memoryHeaps[heapIndex].size) in VmaAllocator_T()
7426 m_MemProps.memoryHeaps[heapIndex].size = limit; in VmaAllocator_T()
7538 const uint32_t heapIndex = MemoryTypeIndexToHeapIndex(memTypeIndex); in CalcPreferredBlockSize() local
7539 const VkDeviceSize heapSize = m_MemProps.memoryHeaps[heapIndex].size; in CalcPreferredBlockSize()
8263 const uint32_t heapIndex = MemoryTypeIndexToHeapIndex(pAllocateInfo->memoryTypeIndex); in AllocateVulkanMemory() local
8266 if(m_HeapSizeLimit[heapIndex] != VK_WHOLE_SIZE) in AllocateVulkanMemory()
[all …]
/external/skia/src/gpu/
DGrAHardwareBufferUtils.cpp419 uint32_t heapIndex = 0; in make_vk_backend_texture() local
430 heapIndex = pdmp.memoryTypes[i].heapIndex; in make_vk_backend_texture()
/external/skqp/src/gpu/
DGrAHardwareBufferImageGenerator.cpp263 uint32_t heapIndex = 0; in make_vk_backend_texture() local
274 heapIndex = pdmp.memoryTypes[i].heapIndex; in make_vk_backend_texture()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryAllocationTests.cpp344 const VkMemoryHeap memoryHeap = m_memoryProperties.memoryHeaps[memoryType.heapIndex]; in iterate()
378 if (memoryType.heapIndex >= m_memoryProperties.memoryHeapCount) in iterate()
617 TCU_CHECK(type.type.heapIndex < m_memoryProperties.memoryHeapCount); in iterate()
619 m_heaps[type.type.heapIndex].types.push_back(type); in iterate()
DvktMemoryMappingTests.cpp622 const VkMemoryHeap& memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in testMemoryMapping()
1388 …memoryTypes[memoryProperties.memoryTypes[memoryTypeNdx].heapIndex].push_back(MemoryType(memoryType… in RandomMemoryMappingInstance()
1391 for (deUint32 heapIndex = 0; heapIndex < memoryProperties.memoryHeapCount; heapIndex++) in RandomMemoryMappingInstance() local
1393 const VkMemoryHeap heapInfo = memoryProperties.memoryHeaps[heapIndex]; in RandomMemoryMappingInstance()
1395 if (!memoryTypes[heapIndex].empty()) in RandomMemoryMappingInstance()
1397 …const de::SharedPtr<MemoryHeap> heap (new MemoryHeap(heapInfo, memoryTypes[heapIndex], m_memoryLim… in RandomMemoryMappingInstance()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_utils.h351 uint32_t heapIndex = mMemoryProperties.memoryTypes[memoryType].heapIndex;
352 return mMemoryProperties.memoryHeaps[heapIndex].size;
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiBufferTests.cpp233 const VkMemoryHeap memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in bufferCreateAndAllocTest()
454 const VkMemoryHeap memoryHeap = memoryProperties.memoryHeaps[memoryType.heapIndex]; in bufferCreateAndAllocTest()
/external/skia/tests/
DVkHardwareBufferTest.cpp729 uint32_t heapIndex = 0; in importHardwareBuffer() local
740 heapIndex = pdmp.memoryTypes[i].heapIndex; in importHardwareBuffer()
/external/skqp/tests/
DVkHardwareBufferTest.cpp737 uint32_t heapIndex = 0; in importHardwareBuffer() local
748 heapIndex = pdmp.memoryTypes[i].heapIndex; in importHardwareBuffer()
/external/mesa3d/src/intel/vulkan/
Danv_device.c192 .heapIndex = heap, in anv_physical_device_init_heaps()
204 .heapIndex = heap, in anv_physical_device_init_heaps()
210 .heapIndex = heap, in anv_physical_device_init_heaps()
2217 .heapIndex = physical_device->memory.types[i].heapIndex, in anv_GetPhysicalDeviceMemoryProperties()
2306 uint32_t heapIndex, in anv_GetDeviceGroupPeerMemoryFeatures() argument
3461 assert(mem_type->heapIndex < pdevice->memory.heap_count); in anv_AllocateMemory()
3463 &pdevice->memory.heaps[mem_type->heapIndex]; in anv_AllocateMemory()
3789 p_atomic_add(&device->physical->memory.heaps[mem->type->heapIndex].used, in anv_FreeMemory()
/external/vulkan-validation-layers/layers/
Dvk_mem_alloc.h6605 return m_MemProps.memoryTypes[memTypeIndex].heapIndex; in MemoryTypeIndexToHeapIndex()
13942 …rintf(m_File, "PhysicalDeviceMemory,Type,%u,heapIndex,%u\n", i, memProps.memoryTypes[i].heapIndex); in WriteConfiguration()
14059 for(uint32_t heapIndex = 0; heapIndex < GetMemoryHeapCount(); ++heapIndex) in VmaAllocator_T() local
14061 const VkDeviceSize limit = pCreateInfo->pHeapSizeLimit[heapIndex]; in VmaAllocator_T()
14064 m_HeapSizeLimit[heapIndex] = limit; in VmaAllocator_T()
14065 if(limit < m_MemProps.memoryHeaps[heapIndex].size) in VmaAllocator_T()
14067 m_MemProps.memoryHeaps[heapIndex].size = limit; in VmaAllocator_T()
14233 const uint32_t heapIndex = MemoryTypeIndexToHeapIndex(memTypeIndex); in CalcPreferredBlockSize() local
14234 const VkDeviceSize heapSize = m_MemProps.memoryHeaps[heapIndex].size; in CalcPreferredBlockSize()
15135 const uint32_t heapIndex = MemoryTypeIndexToHeapIndex(pAllocateInfo->memoryTypeIndex); in AllocateVulkanMemory() local
[all …]
/external/swiftshader/tests/VulkanUnitTests/
DDevice.cpp351 if(size > properties.memoryHeaps[properties.memoryTypes[type].heapIndex].size) in AllocateMemory()

1234