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.
Unified · Split
| @@ -192,7 +192,7 @@ static int glslc_shader_compile(FFVulkanContext *s, FFVkSPIRVCompiler *ctx, · 191 unmodified lines | |||
| 192 | .optimize_size = 0, | 192 | .optimize_size = 0, |
| 193 | .disassemble = 0, | 193 | .disassemble = 0, |
| 194 | .validate = 1, | 194 | .validate = 1, |
| 195 | .compile_only = 0, | 195 | /* .compile_only = 0, */ |
| 196 | }; | 196 | }; |
| 197 | #endif | 197 | #endif |
| 198 | 198 | ||