Commit 08ae29a
authored
Allow derivatives in coalescing nodes (#7942)
Per the spec (
https://github.com/microsoft/DirectX-Specs/blob/master/d3d/WorkGraphs.md#quad-and-derivative-operation-semantics
) derivatives are allowed in all but thread launch nodes, but the
validator disallowed them in coalescing nodes.
This changes the validator to allow derivatives in coalescind nodes and
adds testing for derivatives in coalescing and broadcast nodes.
Fixes #77231 parent ba86cc0 commit 08ae29a
File tree
5 files changed
+30
-14
lines changed- docs
- lib/DxilValidation
- tools/clang/test/HLSLFileCheck
- hlsl/objects/Texture
- validation/callgraph
- utils/hct
5 files changed
+30
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3304 | 3304 | | |
3305 | 3305 | | |
3306 | 3306 | | |
3307 | | - | |
| 3307 | + | |
3308 | 3308 | | |
3309 | 3309 | | |
3310 | 3310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5463 | 5463 | | |
5464 | 5464 | | |
5465 | 5465 | | |
5466 | | - | |
5467 | | - | |
5468 | | - | |
5469 | | - | |
5470 | | - | |
| 5466 | + | |
| 5467 | + | |
5471 | 5468 | | |
| 5469 | + | |
| 5470 | + | |
5472 | 5471 | | |
5473 | 5472 | | |
5474 | 5473 | | |
| |||
Lines changed: 22 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| 13 | + | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| |||
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
23 | 33 | | |
24 | 34 | | |
25 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
26 | 43 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
30 | 47 | | |
31 | 48 | | |
32 | 49 | | |
| |||
100 | 117 | | |
101 | 118 | | |
102 | 119 | | |
103 | | - | |
104 | | - | |
| 120 | + | |
| 121 | + | |
105 | 122 | | |
106 | 123 | | |
107 | 124 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8668 | 8668 | | |
8669 | 8669 | | |
8670 | 8670 | | |
8671 | | - | |
8672 | | - | |
| 8671 | + | |
| 8672 | + | |
8673 | 8673 | | |
8674 | 8674 | | |
8675 | 8675 | | |
| |||
0 commit comments