Commit a278313
authored
Skip adding decorations for OpForward (#2529)
When a temporary `OpForward` instruction is needed during translation
to SPIR-V, do not add the decorations yet, as that would result in
duplicate decorations when the actual instruction is visited and the
`OpForward` is replaced by a real SPIR-V instruction.
The SPIR-V Validator has recently started checking for duplicate
decorations; this fixes some but not all issues arising from the new
checks.
Contributes to #25091 parent 3dd108b commit a278313
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1454 | 1454 | | |
1455 | 1455 | | |
1456 | 1456 | | |
1457 | | - | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
1458 | 1463 | | |
1459 | 1464 | | |
1460 | 1465 | | |
| |||
0 commit comments