From c39c29bf4c52a85d7c83cc8b66ae45e265f9e078 Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 28 Apr 2025 11:42:22 -0700 Subject: Add Slang Byte Code generation and interpreter. (#6896) * Add Slang Byte Code generation and interpreter. * Fix compile issues. * format code * More compile fix. * Fix clang issue. * Fix more clang issues. * Another clang fix. * Fix clang issues. * Fix another clang issue. * Fix wasm build. * Update building.md * Fix test-server. * Fix compile error. * Fix bug. --------- Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com> --- source/slang/slang-emit-slang.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 source/slang/slang-emit-slang.cpp (limited to 'source/slang/slang-emit-slang.cpp') diff --git a/source/slang/slang-emit-slang.cpp b/source/slang/slang-emit-slang.cpp new file mode 100644 index 000000000..175f7ffc5 --- /dev/null +++ b/source/slang/slang-emit-slang.cpp @@ -0,0 +1,17 @@ +#include "slang-emit-slang.h" + +namespace Slang +{ + +SlangResult emitSlangDeclarationsForEntryPoints( + CodeGenContext* codeGenContext, + LinkedIR& linkedIR, + String& outSlangCode) +{ + SLANG_UNUSED(codeGenContext); + SLANG_UNUSED(linkedIR); + SLANG_UNUSED(outSlangCode); + return SLANG_OK; +} + +} // namespace Slang -- cgit v1.2.3