summaryrefslogtreecommitdiffstats
path: root/docs/target-compatibility.md
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-11-21 06:54:17 +0800
committerGitHub <noreply@github.com>2024-11-20 14:54:17 -0800
commitb0818ac607ae4f3f04ff59f09b083a0f3fe8e350 (patch)
tree4a593eca2c8c2d7a8f69cd05947757741eac82d6 /docs/target-compatibility.md
parentb5305065e7ef764c1ffc4fb0d29dfd910ae7649c (diff)
Small docs corrections (#5615)
* Small docs corrections * fix typo. --------- Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'docs/target-compatibility.md')
-rw-r--r--docs/target-compatibility.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/target-compatibility.md b/docs/target-compatibility.md
index 5ea793c68..e10c24409 100644
--- a/docs/target-compatibility.md
+++ b/docs/target-compatibility.md
@@ -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.