| Issue |
165663
|
| Summary |
[HLSL] Matrix constructors in HLSL are always row major.
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
farzonl
|
See https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-per-component-math#matrix-ordering
```
Row-major and column-major packing order has no influence on the packing order of constructors
(which always follows row-major ordering).
```
This means the `MatrixSubscriptExpr` needs to be able to have its index change depending on if it is HLSL or not.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs