WebGPU should use the same DXGI adapter as WebRender with DX12
Categories
(Core :: Graphics: WebGPU, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox121 | --- | fixed |
People
(Reporter: jimb, Assigned: sotaro)
References
Details
Attachments
(1 file)
Whenever possible, GPU.requestAdapter
and GPUAdapter.requestDevice
should return a GPUAdapter
and GPUDevice
referring to the same platform DXGI adapter that WebRender is using.
This will help with bug 1814222 (avoiding CPU readback), since the pixels will already be on the right GPU.
[edit: this used to imply that WebRender and WebGPU needed to be using the same device. This doesn't seem to be necessary: they just need to be on the same adapter.]
Reporter | ||
Updated•11 months ago
|
Reporter | ||
Comment 1•11 months ago
|
||
In wgpu_core
, the Global::create_adapter_from_hal
and Adapter::create_device_from_hal
methods can be used to create wgpu
adapters and devices from their platform API analogues.
Assignee | ||
Comment 2•11 months ago
|
||
Chromium use same GPU that matches the dxgi adapter of compositor(ANGLE) on Windows.
Reporter | ||
Updated•11 months ago
|
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Comment 4•9 months ago
|
||
Assignee | ||
Updated•9 months ago
|
Assignee | ||
Updated•9 months ago
|
Updated•8 months ago
|
Assignee | ||
Comment 5•8 months ago
|
||
If same adapter is not used, If wgpu uses a different adapter than WebRender, textures created by webgpu::ExternalTextures do not work with wgpu.
Assignee | ||
Updated•8 months ago
|
Pushed by sikeda.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/879345307d6d Use the same DXGI adapter as WebRender with DX12 r=webgpu-reviewers,nical
Comment 7•8 months ago
|
||
bugherder |
Description
•