summaryrefslogtreecommitdiffstats
path: root/docs/user-guide
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-01-24 15:49:52 -0800
committerGitHub <noreply@github.com>2024-01-24 15:49:52 -0800
commit7ae8f684c863b520139acdb34788a34b93608a1e (patch)
tree8bf608301d1c60ac01ea0a77c72403ae347c3623 /docs/user-guide
parente7b6de334f320429462a0257e2191ccf3cbc9a0d (diff)
Update documentation. (#3492)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'docs/user-guide')
-rw-r--r--docs/user-guide/00-introduction.md2
-rw-r--r--docs/user-guide/01-get-started.md3
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/user-guide/00-introduction.md b/docs/user-guide/00-introduction.md
index d505f2c8f..a77a63a8f 100644
--- a/docs/user-guide/00-introduction.md
+++ b/docs/user-guide/00-introduction.md
@@ -22,6 +22,8 @@ Some of the benefits of Slang include:
* _Interfaces_ and _generics_ provide first-class alternative to hacky preprocessor-based or string-pasting shader specialization. Preprocessor hacks can be replaced with a well-understood language feature already used in Rust, Swift, C#, Java, and more.
+* _Automatic differentiation_ greatly simplifies the implementation of learning-based techniques in shaders. Slang supports automatically generating both forward derivative and backward derivative propagation functions from forward computation code.
+
* Slang supports a first class _module_ system, which enables true separate compilation and semantic checking of shader code.
* Slang supports compute, rasterization, and ray-tracing shaders
diff --git a/docs/user-guide/01-get-started.md b/docs/user-guide/01-get-started.md
index fba0cbfec..27ac956d0 100644
--- a/docs/user-guide/01-get-started.md
+++ b/docs/user-guide/01-get-started.md
@@ -32,9 +32,8 @@ void computeMain(uint3 threadId : SV_DispatchThreadID)
```
> #### Note ####
-> Slang has official language extension support for Visual Studio Code. The extension is powered by the Slang compiler to support a wide range of
+> Slang has official language extension support for both [Visual Studio](https://marketplace.visualstudio.com/items?itemName=shader-slang.slang-vs-extension) and [Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=shader-slang.slang-language-extension). The extensions are powered by the Slang compiler to support a wide range of
> assisting features including auto-completion, function signature hinting, semantic highlighting and more.
-> Try it here: https://marketplace.visualstudio.com/items?itemName=shader-slang.slang-language-extension
As you can see, `hello-world.slang` is no different from a normal HLSL shader file. In fact, Slang is compatible with most HLSL code you would write. On top of HLSL, Slang has added many new language and compiler features that simplifies various tasks with shader code, which we will cover in future chapters. For now we will demonstrate one key feature of Slang: cross-compiling to different platforms.