diff --git a/docs/user-guide/a2-target-specific-features.md b/docs/user-guide/a2-target-specific-features.md index 22d973deae..32be22f086 100644 --- a/docs/user-guide/a2-target-specific-features.md +++ b/docs/user-guide/a2-target-specific-features.md @@ -2,12 +2,12 @@ layout: user-guide --- -Target-specific features -============================ +# Target-specific features Slang can produce code for a variety of targets. When producing code for a target, Slang attempts to translate HLSL intrinsics to the closes functionality provided by the target. In addition, Slang also support target specific intrinsics and language extensions that allow users to make best use of the target. This chapter documents all the important target-specific behaviors. In this chapter: -1. [SPIR-V target specific](a2-01-spirv-target-specific.md) -2. Metal target specific -3. [WGSL target specific](a2-03-wgsl-target-specific.md) + +1. [SPIR-V target specific](./a2-01-spirv-target-specific.md) +2. [Metal target specific](./a2-02-metal-target-specific.md) +3. [WGSL target specific](./a2-03-wgsl-target-specific.md) diff --git a/docs/user-guide/toc.html b/docs/user-guide/toc.html index 77c4f16d83..b0c8808045 100644 --- a/docs/user-guide/toc.html +++ b/docs/user-guide/toc.html @@ -45,7 +45,6 @@
  • `if_let` syntax
  • `reinterpret<T>` operation
  • Pointers (limited)
  • -
  • `struct` inheritance (limited)
  • Extensions
  • Multi-level break
  • Force inlining
  • @@ -94,7 +93,7 @@ -
  • Supported Compilation Targets - -
  • Link-time Specialization and Module Precompilation
  • -
  • Target-specific features +
  • Reference + +
  • SPIR-V specific functionalities
  • +
  • Metal-specific functionalities +
  • -
  • Reference +
  • WGSL specific functionalities +
  • +
  • Target-specific features +
  • Capability Profiles
  • -
  • Capability Atoms +
  • Supported Compilation Targets -
  • +
  • Background and Terminology
  • +
  • Direct3D 11
  • +
  • Direct3D 12
  • +
  • Vulkan
  • +
  • OpenGL
  • +
  • Metal
  • +
  • CUDA and OptiX
  • +
  • CPU Compute
  • +
  • Summary