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
commit f21340f7aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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));
}