summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-08-15 15:12:29 -0700
committerTim Foley <tfoley@nvidia.com>2017-08-16 12:44:50 -0700
commit87c50675941a3ac853a79f50ec0ce3465631fa8f (patch)
tree0fe0f40745e61ef11c987ca5bbf754366422568f /slang.h
parent74e04b8746f7254d5e95520ff31fb09d4bc327b1 (diff)
More work on IR
With this change, basic generation of IR works for a trivial shader, and there is some basic support for dumping the generated IR in an assembly-like format. As with the other IR change, the use of the IR is statically disabled for now, so that existing users won't be affected.
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/slang.h b/slang.h
index eefee9a07..2f6c112c0 100644
--- a/slang.h
+++ b/slang.h
@@ -973,6 +973,7 @@ namespace slang
#include "source/core/text-io.cpp"
#include "source/slang/diagnostics.cpp"
#include "source/slang/emit.cpp"
+#include "source/slang/ir.cpp"
#include "source/slang/lexer.cpp"
#include "source/slang/name.cpp"
#include "source/slang/options.cpp"
@@ -982,6 +983,7 @@ namespace slang
#include "source/slang/profile.cpp"
#include "source/slang/lookup.cpp"
#include "source/slang/lower.cpp"
+#include "source/slang/lower-to-ir.cpp"
#include "source/slang/check.cpp"
#include "source/slang/compiler.cpp"
#include "source/slang/slang-stdlib.cpp"