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

    <tr>
        <th>Summary</th>
        <td>
            [HLSL] Consolidate Buffer and SRV handling in CGHLSLRuntime resource annotation
        </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>
    The logic for annotating resources is split in two, which makes it tricky to add handling for UAVs and samplers. We should consolidate the logic to work uniformly on a global/decl pair regardless of the type of resource.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxMkUFzmz4QxT-NuOyEEQLZ5sAhcYb__5BT0qZngRZQLbSMVtTjb9-Buk5P0ki7b957P8PsxoDYCP0ilOpoDBiFUkK_ZmZNE8Xmz1vWkb013yYET6PrYaAIJgRKJrkwQkSmNfbI4Bh48S6BC5CuJNQZrpPrJ5jNZftOkKLrLzdIBMZamEywfpPYFL8_fzKYYIHNvHiMnMMPBJ5o9RZ6CkzeWZMQ0sNIIrhSvMAa3EBx9jegAAZGT53xQrUWew-LcREijiZaj8xAw66Qbgtu97_u88w2pa3L2mTYFIf6dDiVpa6yqbEa68IOupZVrYbuWMijro61PZRWV1bpzDVKqrKQpSwOqi6qvCpNV9W1PEqtZCkHUUmcjfO597_mnOKYOeYVm6M8nHTmTYee7xT-f_t4uzOIzTb-1K0ji0p6x4m_BJJLfie3L-hXOP_T0Ms6DBj3Mj_eP79qdgHO_20L72tIbsZH-AdOCtkafTOltLAon4VqhWpHl6a1y3uahWo3B_fjaYn0E_skVLvnYaHaPdLvAAAA___ghcjc">