[FFmpeg-devel] [PATCH 3/7] avfilter/vf_gblur_vulkan: omit unnecessary buffer usage flag
Lynne
dev at lynne.ee
Thu May 22 00:32:42 EEST 2025
On 18/05/2025 21:11, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
>
> Implied internally now when needed.
> ---
> libavfilter/vf_gblur_vulkan.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/libavfilter/vf_gblur_vulkan.c b/libavfilter/vf_gblur_vulkan.c
> index 80b66de735..fb676a7fc9 100644
> --- a/libavfilter/vf_gblur_vulkan.c
> +++ b/libavfilter/vf_gblur_vulkan.c
> @@ -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));
Its used in a lot more places than here, but its a start.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xA2FEA5F03F034464.asc
Type: application/pgp-keys
Size: 624 bytes
Desc: OpenPGP public key
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250522/015e2611/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250522/015e2611/attachment.sig>
More information about the ffmpeg-devel
mailing list