Commit 4897501
authored
[SM6.10] LinAlg: Fix thread-scope InterlockedAccumulate params (#8367)
The thread-scope overload wasn't supposed to have Stride and Layout,
since the Layout must be OuterProductOptimal for thread scope.
Additionally, Align is device-dependent for OuterProductOptimal, so
there's no point supplying it from HLSL or DXIL.
This change removes these three parameters from this function in the
HLSL Header, supplying 0 for Stride, MatrixLayout::OuterProductOptimal
for Layout, and 0 for Align to the builtin operation which will pass
these values along to the DXIL operation.
Fixes #83601 parent 464f750 commit 4897501
2 files changed
Lines changed: 5 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
428 | 426 | | |
429 | 427 | | |
430 | 428 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
0 commit comments