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

Git pushed a commit to branch master
in repository ffmpeg.

commit 52e113f3600487217eba73b33c38487837fc88fb
Author:     Niklas Haas <[email protected]>
AuthorDate: Wed Oct 21 19:08:13 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Sat Oct 24 19:10:48 2026 +0000

    swscale/vulkan/ops: compare image sampled types directly
    
    Instead of checking whether both are float.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/vulkan/ops.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libswscale/vulkan/ops.c b/libswscale/vulkan/ops.c
index 6582eb2ad9..91ab24aef7 100644
--- a/libswscale/vulkan/ops.c
+++ b/libswscale/vulkan/ops.c
@@ -479,8 +479,8 @@ static void define_shader_bindings(const SwsOpList *ops, 
SPICtx *spi, SPIRVIDs *
     if (op_r) {
         /* If the formats match, we have to reuse the types due to SPIR-V not
          * allowing redundant type defines */
-        int match = ((op_w->rw.type == SWS_PIXEL_F32) ==
-                     (op_r->rw.type == SWS_PIXEL_F32));
+        int match = type_scalar(id, op_w->rw.type) ==
+                    type_scalar(id, op_r->rw.type);
         id->in_img_type = match ? id->out_img_type :
                           spi_OpTypeImage(spi, type_scalar(id, op_r->rw.type),
                                           2, 0, 0, 0, 2, 
SpvImageFormatUnknown);

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