summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/slang.h b/slang.h
index 97e860275..a813cd969 100644
--- a/slang.h
+++ b/slang.h
@@ -609,7 +609,10 @@ extern "C"
in the input source or specified via the `spAddEntryPoint` function in a
single output module (library/source file).
*/
- SLANG_TARGET_FLAG_GENERATE_WHOLE_PROGRAM = 1 << 8
+ SLANG_TARGET_FLAG_GENERATE_WHOLE_PROGRAM = 1 << 8,
+
+ /* When set, will dump out the IR between intermediate compilation steps.*/
+ SLANG_TARGET_FLAG_DUMP_IR = 1 << 9
};
/*!