On 17/12/2024 15:55, Zhao Zhili wrote:
From: Zhao Zhili <zhiliz...@tencent.com>

compile_only isn't available until 13.1.0. Let default initialization set
it to zero, so the code works with version before and after 13.1.0.
---
  libavutil/vulkan_glslang.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/vulkan_glslang.c b/libavutil/vulkan_glslang.c
index 9e1b8f4d8d..d116b35ec5 100644
--- a/libavutil/vulkan_glslang.c
+++ b/libavutil/vulkan_glslang.c
@@ -192,7 +192,7 @@ static int glslc_shader_compile(FFVulkanContext *s, 
FFVkSPIRVCompiler *ctx,
          .optimize_size = 0,
          .disassemble = 0,
          .validate = 1,
-        .compile_only = 0,
+        /* .compile_only = 0, */
      };
  #endif

Thanks, pushed.

Attachment: OpenPGP_0xA2FEA5F03F034464.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to