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 767c4b5a99
commit efc50485b8
19 changed files with 336 additions and 171 deletions

View file

@ -1101,6 +1101,10 @@ public:
return &handle;
}
VkCommandBuffer operator*() const noexcept {
return handle;
}
void Begin(const VkCommandBufferBeginInfo& begin_info) const {
Check(dld->vkBeginCommandBuffer(handle, &begin_info));
}