Commit 2084643
authored
[spirv] Corrects output node index parameter. (microsoft#7517)
The node index parameter of `OpAllocateNodePayloadsAMDX` was being set
to the value of the NodeId index argument (which is captured in the
`PayloadNodeBaseIndexAMDX` decoration). Instead, it should be set to the
node's index in the node array, if any, or zero for a single node.1 parent 50f53c6 commit 2084643
2 files changed
Lines changed: 8 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11256 | 11256 | | |
11257 | 11257 | | |
11258 | 11258 | | |
11259 | | - | |
11260 | | - | |
11261 | | - | |
11262 | | - | |
11263 | | - | |
11264 | | - | |
11265 | | - | |
11266 | | - | |
11267 | 11259 | | |
11268 | | - | |
11269 | | - | |
| 11260 | + | |
| 11261 | + | |
11270 | 11262 | | |
11271 | 11263 | | |
11272 | 11264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
| 27 | + | |
| 28 | + | |
0 commit comments