summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-07-13 13:24:56 -0700
committerGitHub <noreply@github.com>2017-07-13 13:24:56 -0700
commit47e94a14a174ce501883c85b7c742c10b785b4f5 (patch)
treea9bac151f79bba23df11c90d5906a3009dad29bd /slang.h
parent4bc59f896c9df970ec27a57c397977fc4721d3cd (diff)
parent6d7be3694fbaae525b2f4463630c35bed487cd5b (diff)
Merge pull request #87 from tfoleyNV/debug-dump
Add support for dumping intermediates for debugging.
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/slang.h b/slang.h
index 26a8a406f..84dc9d547 100644
--- a/slang.h
+++ b/slang.h
@@ -170,6 +170,13 @@ extern "C"
SlangCompileFlags flags);
/*!
+ @brief Set whether to dump intermediate results (for debugging) or not.
+ */
+ SLANG_API void spSetDumpIntermediates(
+ SlangCompileRequest* request,
+ int enable);
+
+ /*!
@brief Sets the target for code generation.
@param ctx The compilation context.
@param target The code generation target. Possible values are: