microsoft / microsoft/DirectXShaderCompiler
[SM6.10] GS vector types incorrectly rejected in *Memory builtins
Open
@V-FEXrt is already working on this.
Since Aug 20, 2026.
- Dominant language
- C++
- Stars
- 3.7k
- Forks
- 900
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 44
Description
<built-in:hlsl>/dx/linalg.h:352:52: error: cannot initialize a parameter of type 'float const __attribute__((address_space(3))) (&)[1024]' with an lvalue of type 'vector<float, 4> __attribute__((address_space(3)))[1024]'
__builtin_LinAlg_MatrixStoreToMemory(__handle, Arr, StartIdx, Stride,
Trying to pass a gs array where the element type is a vector is currently rejected at compilation. This should be an allowed case.
I think this is just a case of updating the overload definition but I haven't looked closely yet
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.