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

    <tr>
        <th>Summary</th>
        <td>
            [HLSL] Validate register binding type match the decl type
        </td>
    </tr>

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

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

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

<pre>
    
Report error for case like RWBuffer<float> Uav : register(t3, space1);
The register should be u3 for Uav.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxNkE1vwyAMhn8NXNAiAkmaHDis66Ydeuq-ziY4CSstEZBK_fejmfYhgYx5rdePrb25KsJ3hN8fcPYhMQzBBzbk20NE5uwR2eFjuwwDBiIfBuchEfnI3uDCiLxnAUcbU9ZEmyQRDyzO0GNJREfk9tv5dcLfMhYnvzjDNLJFrm2yUUFRlU0jNx2vWkmNkqaTHdBkk0NF6u3z_mVP6h17B2cNpH922p6NPY8sXWdkJ0j9xFJuZ7B36x9dglNTSnPMsEQ85TPaNC266P0pJ85dfsLdHPwn9imnNsYFY37Um7Zt6KQ0r-qqG4w0uhXGGN3g0LU1QNMCitJQBxpdvLESIVZcITIxtUpwIXgnSsF5KWRRNSD7oauQg5SaA6k4nsC64oZQ-DDSoFYavYwxiy7PGf9EiNGOZ1y3cvOHJU0-qPmaw1keR0C6wquV_Aun3ZjV">