diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-10-13 18:14:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-13 18:14:42 -0700 |
| commit | 64ddefb90cf440df7879d1f2f9cc61de71e0f181 (patch) | |
| tree | 03d113b2e58c9e232021df38350744226600f79c /source/slang/slang.cpp | |
| parent | 575230b93370fea86ecccb53fba73927280e917b (diff) | |
Move reflection JSON generation into separate text fixture (#211)
Move reflection JSON generation into separate test fixture
Diffstat (limited to 'source/slang/slang.cpp')
| -rw-r--r-- | source/slang/slang.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp index 65abbb3f2..66ff9e429 100644 --- a/source/slang/slang.cpp +++ b/source/slang/slang.cpp @@ -708,17 +708,7 @@ SLANG_API void spSetCodeGenTarget( SlangCompileRequest* request, int target) { - if (target == SLANG_REFLECTION_JSON) - { - // HACK: We special case this because reflection JSON is actually - // an additional output step that layers on top of an existing - // target - REQ(request)->extraTarget = Slang::CodeGenTarget::ReflectionJSON; - } - else - { - REQ(request)->Target = (Slang::CodeGenTarget)target; - } + REQ(request)->Target = (Slang::CodeGenTarget)target; } SLANG_API void spSetPassThrough( |
