<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/70117>70117</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] Root signature support
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
llvm-beanz
</td>
</tr>
</table>
<pre>
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.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxck0-PozgQxT-NuZSCwCShOXDYVhRtS33qvuzVfwrwytiRq7zZzKcfmSQTzUhIGBm_-tWrZ0Xk5oA4isO7OJwqlXmJafT-v3WnUYUflY72Nv79-f0JmZDgK0aGbzcHxTkhAUegCxo33YAXBFbaI8QJElLMySCBChYiL5hAu2BdmAE9rhiYavgIcHIJDf8DrRTyHVKRp5e8UQE0Pko4tOACbDB3dZicR4JMRbbUF8dGHN4L5C9GId_quhZyEIeTODagmJPTmRFiAAycbjDlYNjFcIdVLwCwSCa5S9kEugVW_4PFyYU7CS-OwEaTSzuq_CS6v0RTnoX5QuVLnoU8e1Qp1KszKVKcuDZxFfKMYZdJyPPVBRuvj1UnhTzbzZTOFlPOD39dmHfFnt3Lnp0Lu8WTv5f8czQqIZi4XpzfaDm-WifAVaO1zzYQPr6AF8VlHWBGBgwm2ufBlAO7FcEqVkCcsrmXuC7OLFuhhMqCvofg1J2eJ-rKjp0dukFVOLbH4a3th_3QV8uou0aavZVH2R9wb_Zo-6HVTaOnYzcdrK7cKBvZtY3cy6Zru74-doitOQ5T3_Z984Zi3-CqnK9LWuuY5soRZRz7pm37yiuNnrZcSxnwCtumkLLE_JnwPJPYN94R00uFHfvtQpSgicPpnvlXJihfLjFxlZMffx_z7HjJ-jHdovd47S4p_ouGhTxvFGXUG-XPAAAA__-rQTE5">