<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/135672>135672</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] Raise a diagnostic on Invalid CounterDirection
</td>
</tr>
<tr>
<th>Labels</th>
<td>
HLSL
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
V-FEXrt
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
V-FEXrt
</td>
</tr>
</table>
<pre>
This issue supersedes https://github.com/llvm/llvm-project/issues/114130 which is being divided in half.
The second half is to raise a diagnostic when CounterDirection has been marked as valid. The design should be in alignment with this [proposal](https://github.com/llvm/wg-hlsl/blob/main/proposals/0022-resource-instance-analysis.md) and not the original issue as written.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJykkjGP2zwMhn-NvBAxbNpyksHD3ZfPaIGb2kPRVbYYi60iBaKc4P59YTeHDjd06CSAkB6KfF4jwnMg6pV-VojfdsP_31NWiEqfCrNkF1P_KBZjtG_9q2MBFlkIZLlSErIk4HK-imqeFA4Kh5mzW8ZyiheFg_e392N3TfEHTVnhsBFE4VDXbd1UcHc8OWCBkTjMYPnGlixwAGf8uVTVk6qeXh2B0BSD3arr9RwhGRYCA5bNHKJknuDuKMB_cQmZ0okTTZnjSlrxFOBi0k-yYARuxrMtYQVbWjcB4uLiLYy09jae53ChkOHO2UFeZ1f6-ZriNYrxSp8UHv4--33eOS9e4TD6OCocLoaDwuGds-6hqhB3iSQuaaIdB8kmTLQzwfg3YSkvVuERTLAQYobsCGLimYPxDxtG4J44ZwplYfvGHpujKaiv923bdbjfN4XrjTkfa33Wk2mqbhyptUfUWh804oG68VhwjxXqqq1brBrUTXnopqpDQ1V3JqoPrWoruhj25TpaGdNcbN37utHdHgtvRvLyCNOnl68vjySlfvM_LrOotvIsWf4QMme_BXB7oE_w5aPRGOBz2Gx98Fosyff_EMDfP7_1-CsAAP__do8CBg">