This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit dd69ebc9a86fb1ff1f22ac15724815e3c2983ca8
Author:     Lynne <[email protected]>
AuthorDate: Fri Jan 2 12:30:54 2026 +0100
Commit:     Lynne <[email protected]>
CommitDate: Mon Jan 12 17:28:41 2026 +0100

    vulkan_filter: don't use lg_size[2] as the number of workgroup.z
    
    This was put there because who knows why, but it's wrong, this
    ends up having double dispatches in the z direction if non-1.
---
 libavfilter/vulkan_filter.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavfilter/vulkan_filter.c b/libavfilter/vulkan_filter.c
index e049efec03..44a4ce7242 100644
--- a/libavfilter/vulkan_filter.c
+++ b/libavfilter/vulkan_filter.c
@@ -304,7 +304,7 @@ int ff_vk_filter_process_simple(FFVulkanContext *vkctx, 
FFVkExecPool *e,
     vk->CmdDispatch(exec->buf,
                     FFALIGN(vkctx->output_width,  
shd->lg_size[0])/shd->lg_size[0],
                     FFALIGN(vkctx->output_height, 
shd->lg_size[1])/shd->lg_size[1],
-                    shd->lg_size[2]);
+                    1);
 
     return ff_vk_exec_submit(vkctx, exec);
 fail:
@@ -395,7 +395,7 @@ int ff_vk_filter_process_2pass(FFVulkanContext *vkctx, 
FFVkExecPool *e,
         vk->CmdDispatch(exec->buf,
                         FFALIGN(vkctx->output_width,  
shd->lg_size[0])/shd->lg_size[0],
                         FFALIGN(vkctx->output_height, 
shd->lg_size[1])/shd->lg_size[1],
-                        shd->lg_size[2]);
+                        1);
     }
 
     return ff_vk_exec_submit(vkctx, exec);
@@ -474,7 +474,7 @@ int ff_vk_filter_process_Nin(FFVulkanContext *vkctx, 
FFVkExecPool *e,
     vk->CmdDispatch(exec->buf,
                     FFALIGN(vkctx->output_width,  
shd->lg_size[0])/shd->lg_size[0],
                     FFALIGN(vkctx->output_height, 
shd->lg_size[1])/shd->lg_size[1],
-                    shd->lg_size[2]);
+                    1);
 
     return ff_vk_exec_submit(vkctx, exec);
 fail:

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to