Commit 4f1337c5a8 for ffmpeg

commit 4f1337c5a865ad445d07696a8b8d188e4ccb35bc
Author: Niklas Haas <git@haasn.dev>
Date:   Wed Oct 21 19:07:43 2026 +0200

    swscale/vulkan/ops: use type helpers for the initial data vector

    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    Signed-off-by: Niklas Haas <git@haasn.dev>

diff --git a/libswscale/vulkan/ops.c b/libswscale/vulkan/ops.c
index ab176e6517..6582eb2ad9 100644
--- a/libswscale/vulkan/ops.c
+++ b/libswscale/vulkan/ops.c
@@ -1073,15 +1073,10 @@ static int emit_shader(SwsContext *sws, VulkanPriv *p, FFVulkanOpsCtx *s,
     spi_OpLabel(spi, merge_label);

     /* Initialize main data state */
-    int data;
-    if (ff_sws_op_output_type(&ops->ops[0]) == SWS_PIXEL_F32)
-        data = spi_OpCompositeConstruct(spi, id->f32vec4_type,
-                                        id->f32_0, id->f32_0,
-                                        id->f32_0, id->f32_0);
-    else
-        data = spi_OpCompositeConstruct(spi, id->u32vec4_type,
-                                        id->u32_cid[0], id->u32_cid[0],
-                                        id->u32_cid[0], id->u32_cid[0]);
+    const SwsPixelType type0 = ff_sws_op_output_type(&ops->ops[0]);
+    const int zero0 = const_zero(id, type0);
+    int data = spi_OpCompositeConstruct(spi, type_vec4(id, type0),
+                                        zero0, zero0, zero0, zero0);

     /* Operations */
     for (int n = 0; n < ops->num_ops; n++) {