summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-04-16 10:34:26 -0700
committerGitHub <noreply@github.com>2021-04-16 10:34:26 -0700
commit79e92395f8ce3d92c446e3bb3250d19ce33decd5 (patch)
tree2ac277fa299200da72cf03a2b5b96338f66aee5d /slang.h
parentbad484d838590d0a2aaf1b5b8ac820634af2decb (diff)
Update `model-viewer` example and fixing compiler bugs. (#1795)
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
};
/*!