Commit ccbc9cd
[DirectVariableAccess] Add option for external handles to be processed.
Currently the DVA transform will only process handles if the
`transform_handles` flag is set. This CL splits the flag into a `none`,
`external`, and `full` set of options. The current behaviour being
either `none` or `full` in all cases.
The SPIR-V backend is updated to use either `external` or `full` instead
of `none` and `full` so we can flatten any external textures before
running multiplanar.
Bug: 491363837
Change-Id: Iad7e8348e3ff278fcf6e134503626a1b071c2f1b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/296696
Commit-Queue: dan sinclair <dsinclair@chromium.org>
Reviewed-by: James Price <jrprice@google.com>1 parent 9037a8e commit ccbc9cd
7 files changed
Lines changed: 1945 additions & 1197 deletions
File tree
- src/tint/lang
- core/ir/transform
- glsl/writer/raise
- spirv/writer
- raise
- test/tint/builtins/textureLoad
Lines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
608 | 609 | | |
609 | 610 | | |
610 | 611 | | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
611 | 623 | | |
612 | 624 | | |
613 | 625 | | |
| |||
631 | 643 | | |
632 | 644 | | |
633 | 645 | | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
| 646 | + | |
640 | 647 | | |
641 | 648 | | |
642 | 649 | | |
| |||
659 | 666 | | |
660 | 667 | | |
661 | 668 | | |
662 | | - | |
| 669 | + | |
663 | 670 | | |
664 | 671 | | |
665 | 672 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
50 | 57 | | |
51 | 58 | | |
52 | 59 | | |
53 | 60 | | |
54 | 61 | | |
55 | 62 | | |
56 | | - | |
57 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
58 | 66 | | |
59 | 67 | | |
60 | 68 | | |
| |||
82 | 90 | | |
83 | 91 | | |
84 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
85 | 97 | | |
0 commit comments