diff options
Diffstat (limited to 'source/slang/options.cpp')
| -rw-r--r-- | source/slang/options.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/slang/options.cpp b/source/slang/options.cpp index 0e329ccd2..669ab1827 100644 --- a/source/slang/options.cpp +++ b/source/slang/options.cpp @@ -258,6 +258,10 @@ struct OptionsParser { flags |= SLANG_COMPILE_FLAG_SPLIT_MIXED_TYPES; } + else if(argStr == "-use-ir" ) + { + flags |= SLANG_COMPILE_FLAG_USE_IR; + } else if (argStr == "-backend" || argStr == "-target") { String name = tryReadCommandLineArgument(arg, &argCursor, argEnd); |
