diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-08-17 10:58:11 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-17 10:58:11 -0700 |
| commit | 5230ad2edb28e176d0d7d2a9873ffb8f65285269 (patch) | |
| tree | d1b85e1553b0a81d2322f043d3e4022bd9d780c1 /source/slang/options.cpp | |
| parent | 3dd88c2eb5cd2e405cd5aa184a2cd45db6fb027a (diff) | |
| parent | d13bd05164c6a3d0b7ba95bb415f6bfac4cfcb70 (diff) | |
Merge pull request #168 from tfoleyNV/resources-in-structs-control
Add a flag to control type splitting
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 a360695f2..0e329ccd2 100644 --- a/source/slang/options.cpp +++ b/source/slang/options.cpp @@ -254,6 +254,10 @@ struct OptionsParser //else if (argStr == "-no-checking") flags |= SLANG_COMPILE_FLAG_NO_CHECKING; + else if(argStr == "-split-mixed-types" ) + { + flags |= SLANG_COMPILE_FLAG_SPLIT_MIXED_TYPES; + } else if (argStr == "-backend" || argStr == "-target") { String name = tryReadCommandLineArgument(arg, &argCursor, argEnd); |
