summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-compiler.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-09-09 01:39:03 -0700
committerGitHub <noreply@github.com>2021-09-09 01:39:03 -0700
commitcc075b76ee25876135584d31ec650776fcb69166 (patch)
tree119f7fcaae74df826f9a6503bb8144e799344824 /source/slang/slang-compiler.cpp
parentebb29e6c830cafe74ca64da416ded01fc59d208a (diff)
Fix `spSetDumpIntermediates`. (#1931)
Diffstat (limited to 'source/slang/slang-compiler.cpp')
-rw-r--r--source/slang/slang-compiler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-compiler.cpp b/source/slang/slang-compiler.cpp
index 0a9180b30..513f9623d 100644
--- a/source/slang/slang-compiler.cpp
+++ b/source/slang/slang-compiler.cpp
@@ -2049,6 +2049,7 @@ namespace Slang
m_program);
backEndRequest->shouldDumpIR =
(m_targetReq->getTargetFlags() & SLANG_TARGET_FLAG_DUMP_IR) != 0;
+ backEndRequest->shouldDumpIntermediates = m_targetReq->shouldDumpIntermediates();
return _createEntryPointResult(
entryPointIndex,