<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/70692>70692</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [HLSL] Represent HLSL resource types in a .def file or tablegen
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            HLSL
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
            bogner
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          bogner
      </td>
    </tr>
</table>

<pre>
    Currently we create RWBuffer by hand in HLSLExternalSemaSource, but this and the other resource types are very regular. We should drive these definitions from a table to save on boilerplate and avoid bugs
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckb-O4zwMxJ9Gbog1bPlP4sLFt7tfcMVWm2JrOqRtHRQpoKjc5e0P9gY44CoBwgxn-COm5JbAPJru1Vg7xSWwGGtN915g1jXK-P1XTJEe41sW4aD-Ab8YLsKoDJ9fr3meWWB6wIqBwAX48XH--P-3sgT0Z77iOWa5sLFvMGUFXV2CTakrQ9SVBYTTLgF93DgBCsOd5QHCS_YoJXwxpDVmT0Di7rxZEwPx7IJTF0OCWeIVEBQnz6AREt4ZYoApOs9y81vXLRTv0RFMeUkFjQ0NzYAFj3U_HPtj1w51sY5D3xMfiZibuSHsLFJl0da2adsLkS3caCvb1FVT1Yeq7eqypp7qw3CYsaW5p9a0FV_R-dL7-7WMshQupczjoeoHW3ic2Kcn843Vk7iMm_xl62bayruk6e8Ader3O-2G7h0--SacOOiO-1-ELgBCSTzD7DxDlG8yC4ciix9X1VsyzX_Gnow9LU7XPJWXeDX2tCU-n5ebxJ98UWNPe_9k7Glf4U8AAAD__4-_vg8">