Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small docs corrections #5615

Merged
merged 3 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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