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

    <tr>
        <th>Summary</th>
        <td>
            [HLSL]
        </td>
    </tr>

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

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

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

<pre>
    - Analyze whether the shader uses any resources with implicit bindings
- Analyze existing explicit resource bindings to find which descriptor ranges are free
- Assign available register slots to resources with implicit binding (replace `dx.resource.handlefromimplicitbinding` with `dx.resource.handlefrombinding`)

See [implicit resource binding proposal](https://github.com/llvm/wg-hlsl/blob/main/proposals/0024-implicit-resource-binding.md).
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyEks9upDwQxJ-mubRAnuZPhgOHiSL0HXLLExjcYH9rMLJNZmaffgUZMtJKq5x8qfpVuVUyBDPOzA2Ur1C-JXKN2vlG8y8XZdI5dW9SvMzS3n8zXjVHzR6jZgxaKva4Bg4o5zt6Dm71PQe8mqjRTIs1vYnYmVmZeQwgLk8Q30yIZh6Rbw_ZYf_WY3Q4mFnhVZteo-LQe7NE59HLedxCPePgmb_A-zdQfkpjZWcZPY8mRPYYrIs77IeCCHT2vFjZM0Il1C07DJmWs7I8eDcdpocHKvEF-6fhKQSqQVxAXD6YEcrX7_y_f46Ld4sL0kL5BnTWMS4B8gtQC9SOJuq1y3o3AbXWfm7PdUy1DRao7azrgNpJmhmoPTgBqBWCivSITI_I9BGZTQqozhLV5KrOa5lwc3opyrwqKK8T3UgaXvpTUYuhUN3AQhH356Iaiqo65UMtEtOQoFIURJRTXtaZKKtu6E-Sz3U-VFRDIXiSxmZb58z5MTEhrNyc8urlXCVWdmzDvkGi_94_3oFoW6NvNn3arWOAQlgTYngSool23-1uKN-S1dvm53PtxMW7_7mPQO3eYzvRo8pnQ38CAAD__3QKCgU">