<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/70686>70686</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[DirectX][HLSL] Remove `parseSourceType` from DXILResource
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:DirectX,
HLSL
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
bogner
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
bogner
</td>
</tr>
</table>
<pre>
Currently, CGHLSLRuntime/HLSLResource insert a stringify'd type into metadata for the backend to interpret as a resource type and fill out fields such as ROV, Shape, and element type. These need to be handled in the frontend and instead pass the interpreted values to the backend in the metadata.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxMUsFu2zAM_Rr5QjRQJNtJDj60CbINKDCgLYZeKYuxtcmSIdEF8veD3KTbyZbI9_ieHjFnNwSiTjRPQikTh0BJKCWaU4ULjzF1n3eVifbaHZeUKLC_CnWE47fvz6_PL0tgN5FQ5_VEOS6pJ3AhU2JAyJxcGNzlKtTOAl_nUuMIEzFaZIRLTMAjgcH-DwULHEsDpTkRA2ZASHfSFY3BwsV5D3FhuDjyNkNe-rH0vvz8VZS9jjhT-Sm95GmiwCt4A28jZYJAtA4yBCMG68mCC6uKS4qBi4wCdSEzoYUZc16rX8LIwgf6hXJh-V_9jebublPZTtuDPmBF3bY97Nu9bve7auykMWi0RtPaFreoGrPXum4aQ7vtYYtYuU5JpbdSy22r67reyL4-7Oii6oOSUkojakkTOr_x_mPaxDRULueFup1s923l0ZDP91w_1Qn9eHKJen4vEaujUKqEdss7dYXowSxDFrX0LnP-R82O_bold4LmJJqnFd2c4IWm-EEgWjljyvS6xvV2nUm0sjzpBKf3H1_LUS3JdyPznIV-FOos1HlwPC5m08dJqHMZevs8zCn-pp6FOq_mslDn1d_fAAAA___7B-cd">