avutil/vulkan_glslang: Fix build failure

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.
This commit is contained in:
Zhao Zhili 2024-12-17 14:55:15 +08:00 committed by Lynne
parent bd226fdd74
commit 7b0bd6c4a7

View File

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