microsoft / microsoft/DirectXShaderCompiler

[SM6.10] GS vector types incorrectly rejected in *Memory builtins

Open
#8,814 0 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.