Fix descriptor pool fragmentation (#2949)

This commit is contained in:
Adrian Cojocaru
2024-10-22 18:45:02 +03:00
committed by GitHub
parent c098a12c37
commit 7ff0c71312
6 changed files with 160 additions and 92 deletions

View File

@@ -118,7 +118,7 @@ BufferResource::~BufferResource() noexcept {
if (!bufferAllocation) return;
context.enqueueDeletion([allocation = std::move(bufferAllocation)](const auto&) mutable { allocation.reset(); });
context.enqueueDeletion([allocation = std::move(bufferAllocation)](auto&) mutable { allocation.reset(); });
}
BufferResource BufferResource::clone() const {