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

    <tr>
        <th>Summary</th>
        <td>
            [DirectX backend] Allocate resource binding
        </td>
    </tr>

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

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

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

<pre>
    
When a global resource doesn't have a register binding attribute, needs to allocate a register index for the resource.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxVkMFuwyAMhp8GLmgRgZCEA4du1bRDbztsV0gcwkpDBaRa3360artNQjLmx_4_24TxrBDdIrr5mGEhmlgfjPYkQgprHICMAdKCWJfJrE9QPkSwLmWIxLhldIslOufozJoBsReyAIyJ5EC092HQ-V9FKYBvMoVI8gwPiwqDqtu2aXjTtS0eFR8llxpnlz0oJJ63LsKQP4nRwx6WEYkt2dy7PzhvNHiNXs05HxPiG8Rey7Euz6uphnAoifene3g6xvBVGpfUpbRCKhfRU1HjWUnaTX0tgZpedJPoeQPQspppzruaTy322oBPFzrE2NvufVdCAcNOMcoYlUzSVkjWVlyAAGhAig5k3VPUUDho56sLQhWixVFdacxqUxF9WVX6FXVKzpal3pyO5zyHhe-thpuhXstLVH8EfJ1GXUf5AfkUm-M">