<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/58063>58063</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] Allow unbound array of resource
</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>
clang will report error "definition of variable with array type needs an explicit size or an initializer" for
RWBuffer<float> Out[];
This is a common use case for "bindless" resources before dynamic resources were added in shader model 6.6.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxNkUuPnDAMgH8NXKwiIMDAIYeZblc9rFSprdSzIQayDQTlsVP66-uBrlrJsuWH7M92b9Uuk_wpya-DwXWCuzYGHG3WBSDnrIOkLBWNetVB2xXsCG_oNPaGuDbMgM7hDmHfCFYi5QFXoF-b0YMO4PVvAu7BsaMBGg447gijdefYrz9ucRw5KD6OxmJIxCf4EkNS35L6KRG3s-rU32ftgQVhsMvCNNETDMhqPEF7vSpD3j8mOPI2uoE89MRpArWvuOjhv8SdOIxKkWI88DMqcrBYRQaarMlSkkXTVNWlqYomVVKoTnSYBh0MSQb8_PLthSHhaoy9Q1x7G1f19yB8p_c5aXRGziFsPhHXpHxmmfhysc94C3aMeXs3HzZnX2kI7GrvI_Eiz3WbNyKdZdvVTV31iC2KfFRD2SnKK0GXduxErURqsCfjH2C8_sFWloyXalnmZZl3ZVe0Qogmu_AajehEVeSqL6hNqpwW1CZ7IGTWTamTB00fJ89Jo33w_5LovZ741_L8UYoxzNbJbWezip8TUnrAy4P8D3QQxl8">