This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 1ba1d8dbea19d023188ddf2c4887b2223bc66a82 Author: Lynne <[email protected]> AuthorDate: Sun Sep 20 21:13:42 2026 +0900 Commit: Lynne <[email protected]> CommitDate: Sun Sep 20 21:17:22 2026 +0900 vf_xfade_vulkan: pass the specialization list and the plane counts Both were dropped in the compile-time SPIR-V port: the shader kept planes = 0 and never wrote a frame, and each descriptor binding held a single plane, so multi-plane updates overflowed into the next one. --- libavfilter/vf_xfade_vulkan.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_xfade_vulkan.c b/libavfilter/vf_xfade_vulkan.c index 312aeacaef..6bebd0316d 100644 --- a/libavfilter/vf_xfade_vulkan.c +++ b/libavfilter/vf_xfade_vulkan.c @@ -110,22 +110,25 @@ static av_cold int init_vulkan(AVFilterContext *avctx) SPEC_LIST_ADD(sl, 1, 32, planes); ff_vk_shader_load(&s->shd, VK_SHADER_STAGE_COMPUTE_BIT, - NULL, (int []) { 32, 32, 1 }, 0); + sl, (int []) { 32, 32, 1 }, 0); const FFVulkanDescriptorSetBinding desc[] = { { /* output_images */ .type = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, .stages = VK_SHADER_STAGE_COMPUTE_BIT, + .elems = planes, }, { /* a_images */ .type = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, .stages = VK_SHADER_STAGE_COMPUTE_BIT, .samplers = DUP_SAMPLER(s->sampler), + .elems = planes, }, { /* b_images */ .type = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, .stages = VK_SHADER_STAGE_COMPUTE_BIT, .samplers = DUP_SAMPLER(s->sampler), + .elems = planes, }, }; ff_vk_shader_add_descriptor_set(vkctx, &s->shd, desc, 3, 0); -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
