diff options
author | Lynne <dev@lynne.ee> | 2025-04-16 13:03:28 +0000 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2025-04-16 23:38:16 +0200 |
commit | bb3ce284d7cc99ddef9b2ceb00ec2db8b2c51338 (patch) | |
tree | c34dc9d0978d6d10cc0cb81b569d008da9a92c66 /libavutil/hwcontext_vulkan.c | |
parent | 36c6c66deb56dcad0ca50778069cd7ef4ded5f08 (diff) | |
download | ffmpeg-bb3ce284d7cc99ddef9b2ceb00ec2db8b2c51338.tar.gz |
vulkan: use a single command buffer per command buffer pool
We violated the spec, which, despite the actual command buffer pool
*not* being involved in any functions which require external synchronization
of the pool, *require* external synchronization even if only the
command buffers are used.
This also has the effect of *significantly* speeding up execution
in case command buffers are contended.
Diffstat (limited to 'libavutil/hwcontext_vulkan.c')
-rw-r--r-- | libavutil/hwcontext_vulkan.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index 32203b2f06..d7822d4629 100644 --- a/libavutil/hwcontext_vulkan.c +++ b/libavutil/hwcontext_vulkan.c @@ -673,7 +673,6 @@ static VkBool32 VKAPI_CALL vk_dbg_callback(VkDebugUtilsMessageSeverityFlagBitsEX case 0xfd92477a: /* BestPractices-vkAllocateMemory-small-allocation */ case 0x618ab1e7: /* VUID-VkImageViewCreateInfo-usage-02275 */ case 0x30f4ac70: /* VUID-VkImageCreateInfo-pNext-06811 */ - case 0xa05b236e: /* UNASSIGNED-Threading-MultipleThreads-Write */ return VK_FALSE; default: break; |