diff options
| author | Yuki Nishidate <30839669+yknishidate@users.noreply.github.com> | 2024-12-29 02:22:00 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-28 17:22:00 +0000 |
| commit | c4429bc33450be32ed82358c3974da58e5ec25ab (patch) | |
| tree | be20e7a4192d8a285e4f4136980686ac4a768179 /docs/user-guide/08-compiling.md | |
| parent | 478be540a6f93ffcb552e496c41fe1c278ae054e (diff) | |
Fix tiny typos (#5944)
Diffstat (limited to 'docs/user-guide/08-compiling.md')
| -rw-r--r-- | docs/user-guide/08-compiling.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user-guide/08-compiling.md b/docs/user-guide/08-compiling.md index 765dba5a5..147bc8144 100644 --- a/docs/user-guide/08-compiling.md +++ b/docs/user-guide/08-compiling.md @@ -924,7 +924,7 @@ meanings of their `CompilerOptionValue` encodings. |CompilerOptionName | Description | |:------------------ |:----------- | -| MacroDefine | Specifies a prepreocessor macro define entry. `stringValue0` encodes macro name, `stringValue1` encodes the macro value. +| MacroDefine | Specifies a preprocessor macro define entry. `stringValue0` encodes macro name, `stringValue1` encodes the macro value. | Include | Specifies an additional search path. `stringValue0` encodes the additional path. | | Language | Specifies the input language. `intValue0` encodes a value defined in `SlangSourceLanguage`. | | MatrixLayoutColumn | Use column major matrix layout as default. `intValue0` encodes a bool value for the setting. | @@ -973,5 +973,5 @@ meanings of their `CompilerOptionValue` encodings. ## 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. +To enable debugging information when targeting 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. |
