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

    <tr>
        <th>Summary</th>
        <td>
            [HLSL] `typedBufferStore` does not work with `RWBuffer<float>`
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          hekota
      </td>
    </tr>
</table>

<pre>
    Clang reports `error: typedBufferStore data must be a vector of 4 elements` for this code while DXC accepts it.

```
RWBuffer<float> Buf;

cbuffer CB0 {
  float f;
}

[numthreads(4,1,1)]
void main() {
    Buf[0] = f;
}
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxskk9v2zAMxT8NfSEa0PSfJAcf4mTBDj2th-0qy3SsVY4CiU7Rbz_YTTegGEBBgPTTo56eTEruchVpoGqhOmVm1jHEZpTXoCbrQv_eHL25XjDKLURNCDVJjCFCcUB9v0nfzsMg8UVDFOyNGpzmpNgJGryL1RAxDFiieJnkqglqwiFE1NEltKEXfBudFzz9OqKxVm6a0OkG6LBUTY-iw4-fH52gOA4-GIXiG7bzAEX7wdpu3cZjSwjbZRFxBfGT2Z4eqlV7nScdo5g-Ae9K4GP-MfZQLdA9uB4n467AO-D9Xz1cO1YtQXVCKE5fpD9vm_VN0e-Lvcmkybcl5VRxydnYlLbKd2IltyR5N-xpW1PJ1tbEtLNSZK5h4oqYc-KiJN7UNXVdX3dllXNtRaAkmYzzG-_v0ybES-ZSmqXJeZfnlHnTiU9rmMzfn1-egXmJNTYL_9TNlwQleZc0_VNQp379AOuBxVlNX6NdYuuDJLwGxbcQX_HN6biQ_8lleYI5-mZUvSUoDsBn4PPF6Th3Gxsm4PPS_DE93WL4LVaBz6uXBHx-2Lk3_CcAAP__S8nJdQ">