1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avfilter/vf_gblur_vulkan: omit unnecessary buffer usage flag

Implied internally now when needed.
This commit is contained in:
Niklas Haas
2025-05-18 13:57:36 +02:00
parent 0a4cdf8822
commit 02f45a7f3f

View File

@@ -171,7 +171,6 @@ static int init_gblur_pipeline(GBlurVulkanContext *s,
RET(ff_vk_shader_register_exec(&s->vkctx, &s->e, shd));
RET(ff_vk_create_buf(&s->vkctx, params_buf, sizeof(float) * ksize, NULL, NULL,
VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT |
VK_BUFFER_USAGE_STORAGE_BUFFER_BIT,
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT));
RET(ff_vk_map_buffer(&s->vkctx, params_buf, &kernel_mapped, 0));