• Home
  • Raw
  • Download

Lines Matching refs:heapIndex

6605         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
15138 if(m_HeapSizeLimit[heapIndex] != VK_WHOLE_SIZE) in AllocateVulkanMemory()
15141 if(m_HeapSizeLimit[heapIndex] >= pAllocateInfo->allocationSize) in AllocateVulkanMemory()
15146 m_HeapSizeLimit[heapIndex] -= pAllocateInfo->allocationSize; in AllocateVulkanMemory()
15176 const uint32_t heapIndex = MemoryTypeIndexToHeapIndex(memoryType); in FreeVulkanMemory() local
15177 if(m_HeapSizeLimit[heapIndex] != VK_WHOLE_SIZE) in FreeVulkanMemory()
15180 m_HeapSizeLimit[heapIndex] += size; in FreeVulkanMemory()
15591 for(uint32_t heapIndex = 0; heapIndex < allocator->GetMemoryHeapCount(); ++heapIndex) in vmaBuildStatsString() local
15594 json.ContinueString(heapIndex); in vmaBuildStatsString()
15599 json.WriteNumber(allocator->m_MemProps.memoryHeaps[heapIndex].size); in vmaBuildStatsString()
15603 … if((allocator->m_MemProps.memoryHeaps[heapIndex].flags & VK_MEMORY_HEAP_DEVICE_LOCAL_BIT) != 0) in vmaBuildStatsString()
15609 if(stats.memoryHeap[heapIndex].blockCount > 0) in vmaBuildStatsString()
15612 VmaPrintStatInfo(json, stats.memoryHeap[heapIndex]); in vmaBuildStatsString()
15617 if(allocator->MemoryTypeIndexToHeapIndex(typeIndex) == heapIndex) in vmaBuildStatsString()