mirror of
https://github.com/bailwillharr/engine.git
synced 2024-09-21 04:51:18 +00:00
Do something
This commit is contained in:
parent
b21dad41cd
commit
3cf8697847
@ -1272,7 +1272,6 @@ namespace engine {
|
|||||||
for (uint32_t i = 0; i < memProps.memoryProperties.memoryHeapCount; i++) {
|
for (uint32_t i = 0; i < memProps.memoryProperties.memoryHeapCount; i++) {
|
||||||
const VmaStatistics& statistics = pStats.memoryType[i].statistics;
|
const VmaStatistics& statistics = pStats.memoryType[i].statistics;
|
||||||
VkMemoryHeap heap = memProps.memoryProperties.memoryHeaps[i];
|
VkMemoryHeap heap = memProps.memoryProperties.memoryHeaps[i];
|
||||||
if (statistics.allocationCount > 0) {
|
|
||||||
LOG_INFO("Memory heap {}", i);
|
LOG_INFO("Memory heap {}", i);
|
||||||
LOG_INFO(" Memory blocks allocated: {} ({} MiB)", statistics.blockCount, statistics.allocationBytes / (1024 * 1024));
|
LOG_INFO(" Memory blocks allocated: {} ({} MiB)", statistics.blockCount, statistics.allocationBytes / (1024 * 1024));
|
||||||
LOG_INFO(" Number of allocations: {} ({} MiB)", statistics.allocationCount, statistics.allocationBytes / (1024 * 1024));
|
LOG_INFO(" Number of allocations: {} ({} MiB)", statistics.allocationCount, statistics.allocationBytes / (1024 * 1024));
|
||||||
@ -1282,7 +1281,6 @@ namespace engine {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
uint64_t GFXDevice::getFrameCount()
|
uint64_t GFXDevice::getFrameCount()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user