<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57916>57916</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] Report warning and ignore semantic on place other than parameter and field
</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>
Now we'll get an error on a local variable like
uint V : SV_DispatchThreadID;
use of undeclared identifier 'SV_DispatchThreadID'.
It should be a warning like "semantic is ignored on local variable ".
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxtkEFr3DAQhX-NfRlqJHm13j3okLCUBEIOTcm1jK2xrUYrGUnOkn_fWSdNSykIpGFG771v-mjfTCVOlbh5jBe4UKU672GiAhiAUooJYgAEHwf08IrJYe8JvHuh92-rCwWeoWpv4On5x8nlBcswf58Tob0_Ve3t-9jHcCaII6zB0uAxkQVnKRQ3OkrA1v9TUF3zt8R9gTzH1VvoiXNdMAUXpi0QK6hMZ2TBAVwGN4V49WCAf-LzYFOTkft9ezi0QsvamtYe2yPWxRVPptK3dw9PD5U-wTdaYiqfRhjshzB8erHB4nFgtjIzSJl5dwsmPFPh8vqDAb2t1-TNXMqSeVuV-spncmVe-2aIZy68f_19fVlS_ElD4dLlvFLmh-6Ocl_PBlXbdlYeeotWWrUXQupOjh1RpzVJXXvsyecrA3NuGEoxSe2MEkqJo1JK7nZSNH2HI46jUKStFvJQ7QQjOd9cIzQxTXUyW5p-nTI3vcsl_2lizrwJ2rZ11ce1zDGZ5Y2v0L5MSPUW3mzJfwEoU8eC">