Skip to content

Commit

Permalink
Add missing initialization of compile_only field for SPIRV C interface
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmd17 authored and arcady-lunarg committed Oct 16, 2023
1 parent be56429 commit fd1f96d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions SPIRV/CInterface/spirv_c_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit fd1f96d

Please sign in to comment.