summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
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: