renderer_vulkan: Introduce separate cmd buffer for uploads

This commit is contained in:
GPUCode 2023-09-09 17:28:06 +03:00 committed by Fernando Sahmkow
parent 81373c8499
commit 4b853ff5cf
19 changed files with 336 additions and 171 deletions

View file

@ -138,6 +138,10 @@ public:
return Iterator(this, SlotId{SlotId::INVALID_INDEX});
}
[[nodiscard]] size_t size() const noexcept {
return values_capacity - free_list.size();
}
private:
struct NonTrivialDummy {
NonTrivialDummy() noexcept {}