summaryrefslogtreecommitdiff
path: root/docs/user-guide/a2-target-specific-features.md
blob: e8a85dffffca549ccef2f77203a49fb45ba9960d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
layout: user-guide
---

# 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 closest functionality provided by the target. In addition, Slang also supports 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](./a2-02-metal-target-specific.md)
3. [WGSL target specific](./a2-03-wgsl-target-specific.md)