HLSL uses Root Signatures to specify the table of resources and other binding elements. In DirectX 12+ root signatures can be specified in HLSL source files using the [RootSignature(...)] attribute on entry functions and a signature description syntax defined in this documentation:
HLSL uses Root Signatures to specify the table of resources and other binding elements. In DirectX 12+ root signatures can be specified in HLSL source files using the
[RootSignature(...)]
attribute on entry functions and a signature description syntax defined in this documentation:https://learn.microsoft.com/en-us/windows/win32/direct3d12/specifying-root-signatures-in-hlsl
Root Signatures are compiled into attributes embedded in the IR that then get encoded into runtime data structures which are read by the D3D runtime.
Support for Root Signatures specified via an attribute
-frs
Root Signature Targets
All diagnostics for Root Signatures
Local Root Signatures