Commit ebdd7d9
authored
Fix(bg motion vectors): gate
# Objective
- Help out with #23975
- Fixes an issue on WebGL2 as a result of #23629
- Supporting #23975 on WebGL2 necessitates fixing the “Forward +
Prepass” option on the `deferred_rendering` example. The WebGPU focused
solution to #23629 requires this PR to also allow the “Forward +
Prepass” option to work.
## Solution
- @beicause mentioned gating the whole pipeline of
`background_motion_vectors.rs` to `DownlevelFlags(INDEPENDENT_BLEND)` as
implied in the error message in [this issue
comment](#23975 (comment)).
It works!
## Testing
- Included the change from this PR on top of #24065, and it fixes the
`deferred_rendering` example on WebGL2.BackgroundMotionVectorsPlugin pipelines to DownlevelFlags(INDEPENDENT_BLEND) (#24067)1 parent 2730c6e commit ebdd7d9
1 file changed
Lines changed: 29 additions & 5 deletions
Lines changed: 29 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
28 | | - | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
87 | 95 | | |
88 | 96 | | |
89 | 97 | | |
90 | | - | |
91 | 98 | | |
92 | 99 | | |
93 | 100 | | |
94 | 101 | | |
95 | 102 | | |
96 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
97 | 122 | | |
98 | 123 | | |
99 | | - | |
100 | 124 | | |
101 | 125 | | |
102 | 126 | | |
| |||
0 commit comments