This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 0e077f2dc1f5eaedc5e71360fde564cf078b8a59 Author: Lynne <[email protected]> AuthorDate: Sat Mar 28 17:27:09 2026 +0100 Commit: Lynne <[email protected]> CommitDate: Sat Mar 28 19:36:04 2026 +0100 swscale/vulkan: do not apply order_src/dst for packed r/w > packed = load all components from a single plane (the index given by order_src[0]) > planar = load one component each from separate planes (the index given by order_src[i]) Sponsored-by: Sovereign Tech Fund --- libswscale/vulkan/ops.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/libswscale/vulkan/ops.c b/libswscale/vulkan/ops.c index eadd134001..f04a0800d2 100644 --- a/libswscale/vulkan/ops.c +++ b/libswscale/vulkan/ops.c @@ -244,11 +244,8 @@ static int add_ops_glsl(VulkanPriv *p, FFVulkanOpsCtx *s, if (op->rw.frac || op->rw.filter) { return AVERROR(ENOTSUP); } else if (op->rw.packed) { - GLSLF(1, %s = %s(imageLoad(src_img[0], pos)).%c%c%c%c; , - type_name, type_v, "xyzw"[ops->order_src.in[0]], - "xyzw"[ops->order_src.in[1]], - "xyzw"[ops->order_src.in[2]], - "xyzw"[ops->order_src.in[3]]); + GLSLF(1, %s = %s(imageLoad(src_img[%i], pos)); , + type_name, type_v, ops->order_src.in[0]); } else { for (int i = 0; i < op->rw.elems; i++) GLSLF(1, %s.%c = %s(imageLoad(src_img[%i], pos)[0]); , @@ -260,11 +257,8 @@ static int add_ops_glsl(VulkanPriv *p, FFVulkanOpsCtx *s, if (op->rw.frac || op->rw.filter) { return AVERROR(ENOTSUP); } else if (op->rw.packed) { - GLSLF(1, imageStore(dst_img[0], pos, %s(%s).%c%c%c%c); , - type_v, type_name, "xyzw"[ops->order_dst.in[0]], - "xyzw"[ops->order_dst.in[1]], - "xyzw"[ops->order_dst.in[2]], - "xyzw"[ops->order_dst.in[3]]); + GLSLF(1, imageStore(dst_img[%i], pos, %s(%s)); , + ops->order_dst.in[0], type_v, type_name); } else { for (int i = 0; i < op->rw.elems; i++) GLSLF(1, imageStore(dst_img[%i], pos, %s(%s[%i])); , _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
