diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-10-13 22:39:15 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-13 22:39:15 -0700 |
| commit | 3e3e2473bf85365593629bd1f6f070d11f0b8ab2 (patch) | |
| tree | 429dd72c135a43826a2aa29efe81b4de0915202b /source/slang/slang.cpp | |
| parent | 64ddefb90cf440df7879d1f2f9cc61de71e0f181 (diff) | |
Get rid of the `-slang-ir-asm` target (#212)
* Get rid of the `-slang-ir-asm` target
This is really only useful for debugging, so I've replaced the functionality with a `-dump-ir` command line option (which dump's the IR for an entry point before doing codegen).
* fixup: use HLSL target, not DXBC, so test can run on Linux
Diffstat (limited to 'source/slang/slang.cpp')
| -rw-r--r-- | source/slang/slang.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp index 66ff9e429..6e57c104c 100644 --- a/source/slang/slang.cpp +++ b/source/slang/slang.cpp @@ -301,6 +301,11 @@ int CompileRequest::executeActionsInner() if (mSink.GetErrorCount() != 0) return 1; } + + // If command line specifies to skip codegen, we exit here. + // Note: this is a debugging option. +// if (shouldSkipCodegen) +// return 0; // Generate output code, in whatever format was requested generateOutput(this); |
