summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2025-04-28 11:42:22 -0700
committerGitHub <noreply@github.com>2025-04-28 11:42:22 -0700
commitc39c29bf4c52a85d7c83cc8b66ae45e265f9e078 (patch)
tree969339828d49d7db92ed9294a17bd34cc021db84 /docs
parent8f6c6e333c06ae1c3b9f00396563c14a2ae09b4d (diff)
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>
Diffstat (limited to 'docs')
-rw-r--r--docs/building.md1
-rw-r--r--docs/user-guide/a3-02-reference-capability-atoms.md6
2 files changed, 7 insertions, 0 deletions
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