Commit 834978b
authored
[SM6.10] Add Matrix class methods and other LinAlg API to linalg.h (#8299)
Implements `Matrix` class methods and other API functions related to linear algebra as specified in LinAlg spec
[here](https://github.com/microsoft/hlsl-specs/blob/main/proposals/0035-linalg-matrix.md#appendix-1-hlsl-header).
The header disables warning when an argument is marked as `groupshared` which is reported when the language version is other than 202x. In order to do that the warning needed to be moved to a separate diagnostic group. Also fixes couple of places in SemaHLSL that did not account for the linalg matrix type.
Related to #78391 parent dc4354b commit 834978b
8 files changed
Lines changed: 761 additions & 7 deletions
File tree
- tools/clang
- include/clang/Basic
- lib
- Headers/hlsl/dx
- Sema
- test/CodeGenDXIL/hlsl/linalg/api
- utils/hct
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
807 | 807 | | |
808 | 808 | | |
809 | 809 | | |
| 810 | + | |
810 | 811 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1597 | 1597 | | |
1598 | 1598 | | |
1599 | 1599 | | |
1600 | | - | |
1601 | | - | |
1602 | | - | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
1603 | 1604 | | |
1604 | 1605 | | |
1605 | 1606 | | |
| |||
0 commit comments