diff options
| author | Yong He <yonghe@outlook.com> | 2017-11-01 13:00:29 -0400 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2017-11-01 13:00:29 -0400 |
| commit | b623864fe609e6912cdd2e350aa70cf7e441e1d3 (patch) | |
| tree | 3e3d917bf877e8e83f12b04a920b53ed2afdb942 /source/slang/options.cpp | |
| parent | b4754152010b99400a2efbd97c9cfbdb7e986cc0 (diff) | |
| parent | ec41631032b65973e8f92348e0a86bb9924ef981 (diff) | |
Merge https://github.com/shader-slang/slang
Diffstat (limited to 'source/slang/options.cpp')
| -rw-r--r-- | source/slang/options.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/slang/options.cpp b/source/slang/options.cpp index 971d17b51..7eea3fecc 100644 --- a/source/slang/options.cpp +++ b/source/slang/options.cpp @@ -317,6 +317,8 @@ struct OptionsParser CASE(spirv, SPIRV); CASE(spirv-assembly, SPIRV_ASM); + CASE(dxil, DXIL); + CASE(dxil-assembly, DXIL_ASM); CASE(none, TARGET_NONE); #undef CASE @@ -390,6 +392,7 @@ struct OptionsParser String name = tryReadCommandLineArgument(arg, &argCursor, argEnd); SlangPassThrough passThrough = SLANG_PASS_THROUGH_NONE; if (name == "fxc") { passThrough = SLANG_PASS_THROUGH_FXC; } + else if (name == "dxc") { passThrough = SLANG_PASS_THROUGH_DXC; } else if (name == "glslang") { passThrough = SLANG_PASS_THROUGH_GLSLANG; } else { |
