Merge pull request #11535 from GPUCode/upload_cmdbuf

renderer_vulkan: Introduce separate cmd buffer for uploads
This commit is contained in:
Fernando S
2023-11-26 18:33:05 +01:00
committed by GitHub
19 changed files with 344 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));
}