<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/139617>139617</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] Implicit resource bindings for cbuffer declarations
</td>
</tr>
<tr>
<th>Labels</th>
<td>
HLSL
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
hekota
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
hekota
</td>
</tr>
</table>
<pre>
Constant buffers defined with the `cbuffer` keyword do not have a constructor. Instead, the call to initialize the resource handle based on its binding is generated in codegen. This task is to add initialization of cbuffer handles when they do not have an explicit register binding.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxUkdFu2zwMhZ9GviFqyHLs2Be--P8WwQr0bnsBWaJtrooUiHSy7OmHuF6LXQmgSJ6P51hmmiPioJr_lTELviexyhjVvBR2lSXl4aNWjMnfh-cUWWwUGNdpwszgcaKIHm4kC8iCoFrtPj5Vq-Ed77eUPfgEMQks9opgwT225NVJyiW8Rha0Xpnnbd7ZEEASUCQhG-g3buWMnNbsEBYbfUAYLaOHFIGEYaToKc5ADDNGzFbQA0VwyeOMsYQfCzGI5fdHiySw3n8JWKEUIU2wc-8SDLcF40P8_i9-BPx1CeRIIONMLJj_EpSFH2rf170tcKiOh6PuqkrrYhla02NzqLq273Rvj73z2nTThK313prJFTQYbRrdVMboqjO6bKeq62zt6rEx2LS1Omg8WwplCNdzmfJcEPOKQ1X3bXUsgh0x8B7jt7fvb3uIeXj0P43rzOqgA7Hw1wYhCVv020DzAq_nz8t2v_fLGKaUPx3y6ILNm3FcrDkMi8iFVf2fMidlTjPJso6lS2dlTg-x_Xm65PQTnShz2thZmdOOfx3MnwAAAP__N83b5w">