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

    <tr>
        <th>Summary</th>
        <td>
            [HLSL] Buffer SRV type
        </td>
    </tr>

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

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

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

<pre>
    We somehow haven't gotten around to adding the the `Buffer<T>` type to HLSL. This is similar to `RWBuffer` (but it's an SRV) and `StructuredBuffer` (but it's a TypedBuffer). The logic to do this should more or less match the definition of `RWBuffer`, except read-only.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx0kUGPnD4MxT9NuFiLgoEwHDj8d_c_6mFPu6PuORADqQIZJc608-2r0FErVeohysHv2c_-6RjtshMNon0W7WuhE68-DKNfdgrF6M19-CSIfqPVf4dV32gX2DEsnpl20MGn3QB70MbYfQFe6XhCyec0zxRE_XIR9f9CSeD7lbL0y9vHWwmX1UawEaLdrNMhF4SS758Pm5Ig8DQmBssCuwh6h4_3rwJ70LvJ0g8OaeIUyPzTApf79XcZ-zyUwPnFTnmc8cA5RFx9cgY2Hwh8AEcxwqZ5Wo9NDM12t2z9Dn7-K6LAF6AfE10ZAmnz5Hd3Lwsz1Kave13QUHWNUnWtuqpYh76ZlJbjqaoQ514SNk1LU6d0OzaTknNhB5TYylZ2lZJVVZWq1XJqEKe2aXV_qkQjadPWlc7dttKHpbAxJhqq-tRLLJweycUDJWK-skDMUMOQ9U9jWqJopLOR458ObNkd-A9D-wq_tsvHPogVKbhhZb5GUf8n8CzwvFhe01hOfhN4zo0e39M1-G80scDzkSsKPD-i3Qb8GQAA__-CdcRo">