Commit e6e3717
authored
[SM6.10] Linalg Builtin Diag on Bad Stage (microsoft#8233)
Some builtins are only allowed in a limited set of shader stages. Raise
a Sema Diag when they are improperly used.
Fixes microsoft#82291 parent 8da9786 commit e6e3717
19 files changed
Lines changed: 292 additions & 3077 deletions
File tree
- tools/clang
- include/clang/Basic
- lib/Sema
- test/SemaHLSL/hlsl/linalg/builtins
- copyconvertmatrix
- fillmatrix
- matrixaccumulatetodescriptor
- matrixaccumulate
- matrixgetcoordinate
- matrixgetelement
- matrixlength
- matrixloadfromdescriptor
- matrixmatrixmultiplyaccumulate
- matrixmatrixmultiply
- matrixouterproduct
- matrixqueryaccumulatorlayout
- matrixsetelement
- matrixstoretodescriptor
- matrixvectormultiplyadd
- matrixvectormultiply
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8055 | 8055 | | |
8056 | 8056 | | |
8057 | 8057 | | |
| 8058 | + | |
| 8059 | + | |
| 8060 | + | |
8058 | 8061 | | |
8059 | 8062 | | |
8060 | 8063 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12896 | 12896 | | |
12897 | 12897 | | |
12898 | 12898 | | |
| 12899 | + | |
| 12900 | + | |
| 12901 | + | |
| 12902 | + | |
| 12903 | + | |
| 12904 | + | |
| 12905 | + | |
| 12906 | + | |
| 12907 | + | |
| 12908 | + | |
| 12909 | + | |
| 12910 | + | |
| 12911 | + | |
| 12912 | + | |
| 12913 | + | |
| 12914 | + | |
| 12915 | + | |
12899 | 12916 | | |
12900 | 12917 | | |
12901 | 12918 | | |
| |||
12946 | 12963 | | |
12947 | 12964 | | |
12948 | 12965 | | |
| 12966 | + | |
| 12967 | + | |
| 12968 | + | |
| 12969 | + | |
| 12970 | + | |
| 12971 | + | |
| 12972 | + | |
| 12973 | + | |
| 12974 | + | |
| 12975 | + | |
| 12976 | + | |
| 12977 | + | |
| 12978 | + | |
| 12979 | + | |
| 12980 | + | |
12949 | 12981 | | |
12950 | 12982 | | |
12951 | 12983 | | |
| |||
Lines changed: 0 additions & 217 deletions
This file was deleted.
0 commit comments