<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57948>57948</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[DirectX backend] Generate metadata for shader props
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:DirectX
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
python3kgae
</td>
</tr>
</table>
<pre>
Now only kDxilShaderFlagsTag and kDxilNumThreadsTag are supported.
Need to support all these tags while supporting more shader profiles.
static const unsigned kDxilShaderFlagsTag = 0;
static const unsigned kDxilGSStateTag = 1;
static const unsigned kDxilDSStateTag = 2;
static const unsigned kDxilHSStateTag = 3;
static const unsigned kDxilNumThreadsTag = 4;
static const unsigned kDxilAutoBindingSpaceTag = 5;
static const unsigned kDxilRayPayloadSizeTag = 6;
static const unsigned kDxilRayAttribSizeTag = 7;
static const unsigned kDxilShaderKindTag = 8;
static const unsigned kDxilMSStateTag = 9;
static const unsigned kDxilASStateTag = 10;
static const unsigned kDxilWaveSizeTag = 11;
static const unsigned kDxilEntryRootSigTag = 12;
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyNk91unDAQhZ8GbqyuAPN7wcWuaFKpalSFSM3tgCfgrhcj2ySlT1_Dht1E2kpGSMYz-o7PjIdGsrn0gsoL9g_yjchBzORY_eGi7oGhuhPQ6SfoCAzsHH-YTk-9QmDnsEKip3GUyiDbvesgMmLkFicgBDE9aiTGipG3nosLxIeOnOQish5HRiVfbFq_SxGiDRjeklYO2pBp0LwbkN10uDwerUjg0YMDfV_XNokbudGhG13dpiM3-tttmrrRn2_gQsdu9H4y8sAHZjtfj9BuJhaFxE3hEeafMAsJrOZ_z_xCp8703hjFmwu80pkbfb7z79b_p9pzN_rH7b4Xjp37z8Q4DtwveMVrzVfcceK-DkbNj1Kamncf7ixcRs7HMkxTWmRxmOY-KykraAG-4UZg6SWHiitszTNpoD3iwLykIvc4oLLVkBMaYGCAvEj14S8ctT8pUfbGjNqjey-6s2_HTT81u1ae7EaI1235YoHf9gS75VpPqO1HkhVx7vdlmMRJkTZhkTRB2kKb0LRNgjwrAus4a9EX0KDQi00vijaHdP_u2casXZ-XURBFQRHRiAZRnO_yCKI8y9MiCQAzlnlxgCfgYrf42UnV-apcrTVTp21ScG30NQl67e3anUUfJtNLVY6zXQZ67AD9tZJyLeMf5eCmcA">