Skip to content

Commit

Permalink
Small docs corrections (#5615)
Browse files Browse the repository at this point in the history
* Small docs corrections

* fix typo.

---------

Co-authored-by: Yong He <yonghe@outlook.com>
  • Loading branch information
expipiplus1 and csyonghe authored Nov 20, 2024
1 parent b530506 commit b0818ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/target-compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ Currently support is available in D3D12 via NVAPI, and for Vulkan via the [GL_NV

Slang has preliminary support for `debugBreak()` intrinsic. With the appropriate tooling, when `debugBreak` is hit it will cause execution to halt and display in the attached debugger.

Currently this is supported in all targets except HLSL. Note that on some targets if there isn't an appropriate debugging environment the debugBreak might cause execution to fail or potentially it is ignored.
This is not supported on HLSL, GLSL, SPIR-V or Metal backends. Note that on some targets if there isn't an appropriate debugging environment the debugBreak might cause execution to fail or potentially it is ignored.

On C++ targets debugBreak is implemented using SLANG_BREAKPOINT defined in "slang-cpp-prelude.h". If there isn't a suitable intrinsic, this will default to attempting to write to `nullptr` leading to a crash.

Expand Down
2 changes: 1 addition & 1 deletion docs/user-guide/09-targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ Metal supports rasterization, compute, and ray tracing pipelines.
The Metal rasterization pipeline includes the following programmable stages:

- The vertex stage transforms vertex data loaded from memory
- The vertex stage outputs vertex data

- The optional mesh stage allows groups of threads to cooperatively generate geometry

Expand Down

0 comments on commit b0818ac

Please sign in to comment.