From 0296bfe8dd167b4936aa3a07151fff2e3006103c Mon Sep 17 00:00:00 2001 From: Andrew MacDonald Date: Mon, 16 Oct 2023 10:45:57 -0300 Subject: [PATCH] Add missing initialization of `compile_only` field for SPIRV C interface --- SPIRV/CInterface/spirv_c_interface.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/SPIRV/CInterface/spirv_c_interface.cpp b/SPIRV/CInterface/spirv_c_interface.cpp index d56ad46e24..5e7316e4fa 100644 --- a/SPIRV/CInterface/spirv_c_interface.cpp +++ b/SPIRV/CInterface/spirv_c_interface.cpp @@ -92,6 +92,7 @@ GLSLANG_EXPORT void glslang_program_SPIRV_generate(glslang_program_t* program, g spv_options.optimize_size = false; spv_options.disassemble = false; spv_options.validate = true; + spv_options.compile_only = false; glslang_program_SPIRV_generate_with_options(program, stage, &spv_options); }