<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/107035>107035</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [HLSL] Disallow semantics on buffer declarations
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            HLSL
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          llvm-beanz
      </td>
    </tr>
</table>

<pre>
    FXC, DXC, and Clang all seem to allow specifying semantic annotations on global variable declarations, and specifically on buffers. Seems like we shouldn't allow that since it wouldn't actually _do_ anything.

https://godbolt.org/z/ezPxoqPsK
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckU9v2zAMxT-NfCFqyPSfxAcfugTGgPVQoJfdClpmbG2ylJlysuTTD05SdNuJBAi-9_B-JGIHz9yo8osq9wktcQxz49xpeuqY_DXpQn9p2u87hTvY3wf5HnaO_ADkHAjzBDGseziDHNnYw8X6AYQn8tEaIO9DpGiDFwgeBhc6cnCi2VLnGHo2jub7_UP-LmMNOXdZf7rlcOBZUnhjngSc_clwZpAxLK73Cjfx4R9HiiDWGwYb4fzX2cTlpvbeh3cgf4mj9UOq9LPSz2OMR1H5s8JWYTuEvgsupmEeFLZXhS1fX3-HX6_yLembvK_zmhJusg2WOVZZnSVjw4XJt4e6M5ne6qqqsS6z7Tar86Lo9AGrxDaosdC1znWWVblOS70pqTBcmAqpKDpVaJ7IunQtf_VOrMjCTaY3Oi8TRx07uXFC_Pry9qIQV2IfsJZBVKGdlSifCtFGd2N7eyj3sLfy4PSAI5_t_gMiWWbX_FeLjePSpSZMCtvV4jGejnP4wSYqbG-JRWH7CH1q8E8AAAD__-AGyJM">