summaryrefslogtreecommitdiffstats
path: root/source/slang/slang.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang.cpp')
-rw-r--r--source/slang/slang.cpp12
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(