aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2022-12-16 00:37:53 +0100
committerLynne <dev@lynne.ee>2023-05-29 00:41:45 +0200
commitb18e20a4ee8d6c5fe540499ab17267d55e93d296 (patch)
treee2b954539ddac6722a64847d5ee1ccc9b3ae0076
parent15de0af8f0f620d4c38ca5fe88dc5c1412ea8354 (diff)
downloadffmpeg-b18e20a4ee8d6c5fe540499ab17267d55e93d296.tar.gz
vulkan: do not wait for device idle when destroying buffers
This should be done explicitly.
-rw-r--r--libavutil/vulkan.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c
index 0bb5b1eebf..0250f5aa39 100644
--- a/libavutil/vulkan.c
+++ b/libavutil/vulkan.c
@@ -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)