We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0099cff commit 7116470Copy full SHA for 7116470
src/vsg/vk/Device.cpp
@@ -236,10 +236,7 @@ VkDeviceSize Device::availableMemory(bool includeMemoryPools) const
236
for (auto& heapIndex : compatibleHeaps)
237
{
238
VkDeviceSize heapAvailable = memoryBudget.heapBudget[heapIndex] - memoryBudget.heapUsage[heapIndex];
239
- if (heapAvailable > minimumMargin)
240
- {
241
- available += heapAvailable;
242
- }
+ available += heapAvailable;
243
}
244
245
if (includeMemoryPools)
0 commit comments