HLSL Shader Model 5.1
This section describes the features of Shader Model 5.1 as they apply in practice to D3D12. All DirectX 12 hardware supports Shader Model 5.1.
In this section
Topic | Description |
---|---|
Bytecode changes in SM5.1 |
SM5.1 changes how resource registers are declared and referenced in instructions. |
HLSL Specified Root Signature |
A Root Signature (a key table of resources and other elements for D3D12) can be specified in HLSL as a string. |
For details of the syntax changes to the shader language, refer to Shader Model 5.1.