From 87c50675941a3ac853a79f50ec0ce3465631fa8f Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Tue, 15 Aug 2017 15:12:29 -0700 Subject: 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. --- slang.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'slang.h') 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" -- cgit v1.2.3