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> --- docs/building.md | 1 + docs/user-guide/a3-02-reference-capability-atoms.md | 6 ++++++ 2 files changed, 7 insertions(+) (limited to 'docs') diff --git a/docs/building.md b/docs/building.md index 6597c5199..de76d2825 100644 --- a/docs/building.md +++ b/docs/building.md @@ -159,6 +159,7 @@ See the [documentation on testing](../tools/slang-test/README.md) for more infor | `SLANG_ENABLE_GFX` | `TRUE` | Enable gfx targets | | `SLANG_ENABLE_SLANGD` | `TRUE` | Enable language server target | | `SLANG_ENABLE_SLANGC` | `TRUE` | Enable standalone compiler target | +| `SLANG_ENABLE_SLANGI` | `TRUE` | Enable Slang interpreter target | | `SLANG_ENABLE_SLANGRT` | `TRUE` | Enable runtime target | | `SLANG_ENABLE_SLANG_GLSLANG` | `TRUE` | Enable glslang dependency and slang-glslang wrapper target | | `SLANG_ENABLE_TESTS` | `TRUE` | Enable test targets, requires SLANG_ENABLE_GFX, SLANG_ENABLE_SLANGD and SLANG_ENABLE_SLANGRT | diff --git a/docs/user-guide/a3-02-reference-capability-atoms.md b/docs/user-guide/a3-02-reference-capability-atoms.md index a9455761c..ea3e5952a 100644 --- a/docs/user-guide/a3-02-reference-capability-atoms.md +++ b/docs/user-guide/a3-02-reference-capability-atoms.md @@ -45,6 +45,9 @@ Targets `wgsl` > Represents the WebGPU shading language code generation target. +`slangvm` +> Represents the Slang VM bytecode target. + Stages ---------------------- *Capabilities to specify code generation stages (`vertex`, `fragment`...)* @@ -67,6 +70,9 @@ Stages `geometry` > Geometry shader stage +`dispatch` +> Dispatch shader stage + `pixel` > Pixel shader stage -- cgit v1.2.3