forked from FFmpeg/FFmpeg
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:
parent
bd226fdd74
commit
7b0bd6c4a7
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ static int glslc_shader_compile(FFVulkanContext *s, FFVkSPIRVCompiler *ctx,
|
||||||
.optimize_size = 0,
|
.optimize_size = 0,
|
||||||
.disassemble = 0,
|
.disassemble = 0,
|
||||||
.validate = 1,
|
.validate = 1,
|
||||||
.compile_only = 0,
|
/* .compile_only = 0, */
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue