summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-12-05 14:54:21 -0500
committerGitHub <noreply@github.com>2019-12-05 14:54:21 -0500
commit4e2cfc95fb02fb47f02b8702494929e7cca3bec7 (patch)
tree305a5efb0decc8248bf04832c4a3f527311be607 /slang.h
parent138a0c90d7a2d04c58569e1a8f6afa114d3e77e1 (diff)
Added -dump-intermediate-prefix option (#1146)
* * Added ability to name the prefix for intermediates * Allowed paramters after -load-repro - as pretty useful if somewhat risky thing to do (depending on parameters) * Fix issue around setting arbitrary state outside of load-repro.
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/slang.h b/slang.h
index c4ee39f6d..7c53b292e 100644
--- a/slang.h
+++ b/slang.h
@@ -1198,6 +1198,10 @@ extern "C"
SlangCompileRequest* request,
int enable);
+ SLANG_API void spSetDumpIntermediatePrefix(
+ SlangCompileRequest* request,
+ const char* prefix);
+
/*!
@brief Set whether (and how) `#line` directives should be output.
*/