mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 09:52:17 +00:00
vulkan: do not wait for device idle when destroying buffers
This should be done explicitly.
This commit is contained in:
parent
15de0af8f0
commit
b18e20a4ee
@ -396,8 +396,6 @@ void ff_vk_free_buf(FFVulkanContext *s, FFVkBuffer *buf)
|
||||
if (!buf || !s->hwctx)
|
||||
return;
|
||||
|
||||
vk->DeviceWaitIdle(s->hwctx->act_dev);
|
||||
|
||||
if (buf->buf != VK_NULL_HANDLE)
|
||||
vk->DestroyBuffer(s->hwctx->act_dev, buf->buf, s->hwctx->alloc);
|
||||
if (buf->mem != VK_NULL_HANDLE)
|
||||
|
Loading…
Reference in New Issue
Block a user