We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31c154a commit 4997b5cCopy full SHA for 4997b5c
tools/diff/diff.cpp
@@ -87,7 +87,7 @@ std::unique_ptr<spvtools::opt::IRContext> load_module(const char* path) {
87
return spvtools::BuildModule(
88
kDefaultEnvironment, spvtools::utils::CLIMessageConsumer,
89
std::string(contents.begin(), contents.end()),
90
- spvtools::SpirvTools::kDefaultAssembleOption |
+ static_cast<spv_text_to_binary_options_t>(spvtools::SpirvTools::kDefaultAssembleOption) |
91
SPV_TEXT_TO_BINARY_OPTION_PRESERVE_NUMERIC_IDS);
92
}
93
0 commit comments