microsoft / microsoft/DirectXShaderCompiler
[SPIR-V] ByteAddressBuffer can not get row-major matrix
Open
@Keenuts is already working on this.
Since Jan 19, 2026.
bug
spirv
- Dominant language
- C++
- Stars
- 3.7k
- Forks
- 900
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 44
Description
Compile this example with "-Zpr" which enable row-major matrix:
ByteAddressBuffer byte_buffer;
void foo() {
float4x4 matrix = byte_buffer.Load<float4x4>(id);
}
variable "matrix" is not treated as row-major matrix.
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.