Don't run wgpu-core pass recording in the content process
Categories
(Core :: Graphics: WebGPU, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox125 | --- | fixed |
People
(Reporter: nical, Assigned: nical)
Details
Attachments
(3 external files)
The way things are currently set up has some performance advantages over simply remoting the pass encoing code to the gpu process but also bunch of disadvantages:
- It forces wgpu-core's render pass code to use IDs instead of Arcs internally
- It prevents us from moving registries out of wgpu-core
- It made BGL dedup more complicated
- It prevents some simplifications of the ID allocation/recycling code
- That makes fixing https://github.com/gfx-rs/wgpu/pull/5141 more difficult
- It also makes fixing out broken ID recycling more difficult
- Forcing wgpu to have an internal
render_fficauses weird linking issues when people (accidentally) use two versions of wgpu.
For these reasons the wgpu maintainers would like to move away from this system which depends on Gecko remoting the render passes itself instead of serializing wgpu-core's internal representation.
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
Comment 3•2 years ago
|
||
Formatting regressed with in D199874, fixing with cargo fmt here.
Comment 5•2 years ago
•
|
||
Backed out 3 changesets (Bug 1878308) for causing wgpu_bindings related build bustages CLOSED TREE
Log: https://treeherder.mozilla.org/logviewer?job_id=446364141&repo=autoland&lineNumber=31175
https://treeherder.mozilla.org/logviewer?job_id=446364498&repo=autoland&lineNumber=2582
Backout: https://hg.mozilla.org/integration/autoland/rev/b921c505276985dc715895413ee299c96d755c00
Comment 6•2 years ago
|
||
Patches got backed out because the encoder_id argument for wgpu_command_encoder_begin_compute_pass is now unused. wgpu_command_render_begin_compute_pass (N.B., s/compute/render) had its encoder_id removed entirely. :nical, I think we need to do the same for compute passes?
Comment 8•2 years ago
|
||
Backed out for causing webgpu failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/ccaccfe2cb77380846b2d6c5ab5cc3da4ab5cb33
Comment 9•2 years ago
|
||
:nical: Not sure what's going wrong now, but WebGPU's mochitests are all failing with internal communication errors. Wish I could diagnose at a glance. 😅 I'm going to be moving my attention elsewhere, unfortunately. Best of luck! 🤞🏻
Comment 10•2 years ago
|
||
| Assignee | ||
Updated•2 years ago
|
Comment 11•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/f3a65e816243
https://hg.mozilla.org/mozilla-central/rev/899767ae3878
https://hg.mozilla.org/mozilla-central/rev/00da219c8530
Description
•