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

Git pushed a commit to branch master
in repository ffmpeg.

commit 3ab4e278bce21ddb4432ea5bd0189643a9faa705
Author:     Niklas Haas <[email protected]>
AuthorDate: Wed Oct 21 19:09:22 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Sat Oct 24 19:10:48 2026 +0000

    swscale/vulkan/ops: take the pack types from the op
    
    Same as for all other ops, instead of hard-coding 32-bit integers.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/vulkan/ops.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/libswscale/vulkan/ops.c b/libswscale/vulkan/ops.c
index 230af3e257..1478073645 100644
--- a/libswscale/vulkan/ops.c
+++ b/libswscale/vulkan/ops.c
@@ -931,8 +931,9 @@ static int emit_linear(SPICtx *spi, SPIRVIDs *id, const 
SwsOp *op, int *data)
 
 static int emit_pack(SPICtx *spi, SPIRVIDs *id, const SwsOp *op, int *data)
 {
-    const int type_v = id->u32vec4_type;
-    const int type_s = id->u32_type;
+    const SwsPixelType type = ff_sws_op_input_type(op);
+    const int type_v = type_vec4(id, type);
+    const int type_s = type_scalar(id, type);
 
     int shift, mask;
     define_pack_consts(spi, id, op, &shift, &mask);

-- 
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]

Reply via email to