diff options
| author | Yong He <yonghe@outlook.com> | 2021-04-16 10:35:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-16 10:35:42 -0700 |
| commit | 2886bc35e7b023370a8b8d56d78e5335eee2eb98 (patch) | |
| tree | ef40d6029f2f024a95602efb921c27383cf887f5 /docs | |
| parent | 79e92395f8ce3d92c446e3bb3250d19ce33decd5 (diff) | |
Add Hello world example. (#1797)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/user-guide/01-get-started.md | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/docs/user-guide/01-get-started.md b/docs/user-guide/01-get-started.md index 1e3fd740f..eafc599f9 100644 --- a/docs/user-guide/01-get-started.md +++ b/docs/user-guide/01-get-started.md @@ -94,8 +94,4 @@ Note that in the generated GLSL code, all shader parameters are qualified with e ## The full example -> #### Note #### -> The current `hello-world` implementation does not use raw Vulkan API calls; -> this will be addressed in a future revision so that it matches the documentation. - -The full Vulkan example that sets up and runs the `hello-world.slang` shader in located in the `/examples/hello-world` directory of the Slang repository. The example code initializes a Vulkan context and runs the compiled SPIRV code. +The full Vulkan example that sets up and runs the `hello-world.slang` shader in located in the [/examples/hello-world](https://github.com/shader-slang/slang/tree/master/examples/hello-world) directory of the Slang repository. The example code initializes a Vulkan context and runs the compiled SPIRV code. The example code demonstrates how to use the Slang API to load and compile shaders. |
