Enable WebGPU by default for MacOS Tahoe on ARM architecture
Categories
(Core :: Graphics: WebGPU, task, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox145 | --- | fixed |
People
(Reporter: aleiserson, Assigned: aleiserson)
References
Details
(Keywords: dev-doc-needed)
Attachments
(2 files)
| Assignee | ||
Comment 1•4 months ago
|
||
Updated•4 months ago
|
| Assignee | ||
Comment 2•4 months ago
|
||
The current patch enables WebGPU for any MacOS version as long as it is running on aarch64.
I still need to make an additional change to block it for versions before Tahoe.
Comment 4•4 months ago
|
||
| bugherder | ||
| Assignee | ||
Comment 5•4 months ago
|
||
| Assignee | ||
Updated•4 months ago
|
Updated•4 months ago
|
| Assignee | ||
Comment 8•4 months ago
•
|
||
Summarizing what was done here and the factors governing WebGPU enablement on MacOS:
- Starting in Firefox 145, the default for the
dom.webgpu.enabledpreference in StaticPrefList was changed from false to true whendefined(XP_MACOSX) && defined(MOZ_AARCH64)(i.e. MacOS running on Apple Silicon). - In Firefox 145 and 146, the graphics feature blocklist blocks WebGPU with
FEATURE_FAILURE_WEBGPU_MACOS_26_REQUIREDif MacOS is not Tahoe or newer.
Both of these changes only affect late beta or release builds. Nightly or early beta were already setting dom.webgpu.enabled to true, and the feature blocklist entry is conditioned by #ifndef EARLY_BETA_OR_EARLIER.
In Firefox 143.0.3 and 144, it is possible to enable WebGPU on any MacOS version by setting the dom.webgpu.enabled preference (see bug 1987533). In Firefox 145 and 146, it is necessary to set gfx.webgpu.ignore-blocklist to enable WebGPU on pre-Tahoe MacOS.
Bug 1993341 tracks removing the blocklist entry and enabling WebGPU on additional MacOS versions. From Firefox 147, WebGPU will be enabled by default on any ARM Mac, and can be enabled by setting dom.webgpu.enabled on Intel Macs.
Updated•3 months ago
|
Description
•