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

Git pushed a commit to branch master
in repository ffmpeg.

commit c8ddaa97db7ec9a5a4520f4a66c1ce5d6eb3fe86
Author:     Lynne <[email protected]>
AuthorDate: Sun Apr 26 12:23:03 2026 +0200
Commit:     Lynne <[email protected]>
CommitDate: Fri May 22 14:05:26 2026 +0900

    swscale/vulkan: base dispatch size on output image size, rather than input
    
    Sponsored-by: Sovereign Tech Fund
---
 libswscale/vulkan/ops.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libswscale/vulkan/ops.c b/libswscale/vulkan/ops.c
index abd9f2d5c9..69b4e9e25c 100644
--- a/libswscale/vulkan/ops.c
+++ b/libswscale/vulkan/ops.c
@@ -151,8 +151,8 @@ static void process(const SwsFrame *dst, const SwsFrame 
*src, int y, int h,
     ff_vk_exec_bind_shader(&p->s->vkctx, ec, &p->shd);
 
     vk->CmdDispatch(ec->buf,
-                    FFALIGN(src_f->width, p->shd.lg_size[0])/p->shd.lg_size[0],
-                    FFALIGN(src_f->height, 
p->shd.lg_size[1])/p->shd.lg_size[1],
+                    FFALIGN(dst_f->width, p->shd.lg_size[0])/p->shd.lg_size[0],
+                    FFALIGN(dst_f->height, 
p->shd.lg_size[1])/p->shd.lg_size[1],
                     1);
 
     ff_vk_exec_submit(&p->s->vkctx, ec);
@@ -997,7 +997,7 @@ static int add_ops_glsl(VulkanPriv *p, FFVulkanOpsCtx *s,
     GLSLC(0, void main()                                                      
);
     GLSLC(0, {                                                                
);
     GLSLC(1,     ivec2 pos = ivec2(gl_GlobalInvocationID.xy);                 
);
-    GLSLC(1,     ivec2 size = imageSize(src_img[0]);                          
);
+    GLSLC(1,     ivec2 size = imageSize(dst_img[0]);                          
);
     GLSLC(1,     if (any(greaterThanEqual(pos, size)))                        
);
     GLSLC(2,         return;                                                  
);
     GLSLC(0,                                                                  
);

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

Reply via email to