summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-03-11 15:46:59 -0700
committerGitHub <noreply@github.com>2024-03-11 15:46:59 -0700
commita91af961e4c96236e962be9ff51835c07a45cd14 (patch)
tree814c4cd77cc18850798a8a76fd8f22533f82edf7
parent7c7fbd572874bdbb3e6f965da3abb918013e1ac8 (diff)
Update 08-compiling.md
-rw-r--r--docs/user-guide/08-compiling.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/user-guide/08-compiling.md b/docs/user-guide/08-compiling.md
index ba772d620..391fe9f83 100644
--- a/docs/user-guide/08-compiling.md
+++ b/docs/user-guide/08-compiling.md
@@ -677,9 +677,10 @@ meanings of their `CompilerOptionValue` encodings.
| VulkanBindShiftAll | Specifies the `-fvk-bind-shift` option for all spaces. `intValue0`: kind, `intValue1`: shift. |
| GenerateWholeProgram | When set will emit target code for the entire program instead of for a specific entrypoint. `intValue0` specifies a bool value for the setting. |
| UseUpToDateBinaryModule | When set will only load precompiled modules if it is up-to-date with its source. `intValue0` specifies a bool value for the setting. |
-| ValidateUniformity | When set will perform [uniformity analysis](a1-05-uniformity.md).
+| ValidateUniformity | When set will perform [uniformity analysis](a1-05-uniformity.md).|
+
## Debugging
Slang's SPIRV backend supports generating debug information using the [NonSemantic Shader DebugInfo Instructions](https://github.com/KhronosGroup/SPIRV-Registry/blob/main/nonsemantic/NonSemantic.Shader.DebugInfo.100.asciidoc).
To enable debugging information when targing SPIRV, specify the `-emit-spirv-directly` and the `-g2` argument when using `slangc` tool, or set `EmitSpirvDirectly` to `1` and `DebugInformation` to `SLANG_DEBUG_INFO_LEVEL_STANDARD` when using the API.
-Debugging support has been tested with RenderDoc. \ No newline at end of file
+Debugging support has been tested with RenderDoc.