<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/136784>136784</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] Implement resource constructor with implicit binding
</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>
- Implement resource constructor for implicit binding as specified in [resource-constructors proposal](https://github.com/llvm/wg-hlsl/blob/main/proposals/0025-resource-constructors.md.)
- Initialize resources without a register annotation (or with a space-only annotation) with a call to this constructor.
- Translate `__builtin_hlsl_create_handle_from_implicit_binding ` Clang buildins to `{dx|spv}.resource.handlefromimplicitbinding` according to the [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/eJy0U01vpTgQ_DXNxQLxDObjwCHJE9pIue3ekbH7Qe8YG9kmmcyvH8GEJBqNlNOcONBdVV3lkiHQZBE7EPcgronc4ux8N-M3F2UyOv3apexxWQ0uaCPzGNzmFTLlbIh-U9F5dnOe0bIaUhTZSFaTnZgMLKyo6EaoGVkG4v5cTj8tB7Z6t7ogDYgr8GaOcQ1Q3AHvgfcTxXkbM-UW4L0xz_vnZUpnEwzwfjRuBN4vkizw_sQJwPs85yL9I1226Ax4C_ldyh4tRZKGfuD7XYG9UJzdFplkHicKET2T1rooIznLgDfOHzNMsrBKhamz5vXTCPD2_K-kMSw6FmcKnw3LDvb_vLTByIgMqnwYxo1MJDvstw3Ko4w4zNJqg8PNu2U4DR5Og6HK2YORdmL7qiYbdi6ocqjv9XeoH8L6DPU1O0_LfqHtYCfWG9SOJJVy_sA9BOOe13um76mf3H8pszI9KT_Ce6PMFg28zRLdFbotWplgd6lLUVRFW9TJ3GHe4k00upJlobXSWGNZ3Nq6akQuLo1IqOM5F3nJOS8ujaizW1MXOr_oQlfIZSGhzHGRZLJdc-b8lFAIG3aXoqqbMjFyRBOOmnD-z9O_T8D5Xhjf7fPpuE0BytxQiOEDIVI0R7WOBXH9qknHw_m9SsnmTfe1x4eM1bv_UUXg_SF-9_VN_3PHfwYAAP__n3dXdA">