From 4e2cfc95fb02fb47f02b8702494929e7cca3bec7 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Thu, 5 Dec 2019 14:54:21 -0500 Subject: 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. --- slang.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'slang.h') 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. */ -- cgit v1.2.3