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

    <tr>
        <th>Summary</th>
        <td>
            [HLSL] Implement: Textures/TypedBuffers cannot be bound to root descriptors.
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    This validation needs to check if Textures or TypedBuffers are not bounded to root descriptors. Example:

```HLSL
  // B is TypedBuffer, but bound as a root descriptor.
 Buffer<float> B : register(t0);
  [RootSignature("SRV(t0)")]
  void main() : SV_Target {
    return B[0];
  }
```

AC:
- [ ] Update Root Signature Analysis to make verification.
- [ ] Add unit testing.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxskkFvoz4QxT-NuYyKzBAn4cAhNI3-f6mnJtvryuAxcQt2ZJts--1XJrTbrlay4OCZN2-efzIE01uimomGIb446YLU2kvLEJnYZ3KKZ-frLxdZ69R7fTqbAFc5GCWjcRYskQoQHXRn6l7BaDjRW5w8BXAeTu8XUs2kNfkA0hNYF6F1k1WkUpN3LoKi0Hlzic6HHB7e5HgZiJU7xuez5rfz3-PxkfEdAMMDwwM0YMJXfYb30E6LOsgA8m_1PLUvxeW9HpyMrHyABli5A0-9CTHJbCNnWLGyuU0TzZNz8Wh6K9NaDLcM8fj0_FmImL5iP5dfnVEwSmPnumqWPj7_PEnfUwS2uYkCeIqTt9Aw0fDU-zFts_-68y2C3f0tjbtkBpjYw4-LkpEgGYNPZ7CzcngPZn6NUb4SXMkbbbr5ofJvAjulYLImQqQQje3zTNWlqspKZlQXm7LCciMKzM51hViUlcAW5VZXK2r1asvlWilRaikEz0yNHAXHouBFWQjMWy1bvSVac9LFCjlbcRqlGfJhuI65831mQpioLnC9Xm2yQbY0hIVDS79gvl0o9HVqumunPrAVH0yI4Y9MNHGYAZ7REHv4P5Ezko0p9Q8MGR6-UdhJO0NICyn_ojCb_FCfY7yElPzMW2_ieWrzzo0MD8nC8ru7ePdCXWR4mI2nectm1xp_BwAA__97ThAP">