Closed Bug 1992212 Opened 4 months ago Closed 4 months ago

Enable WebGPU by default for MacOS Tahoe on ARM architecture

Categories

(Core :: Graphics: WebGPU, task, P1)

ARM64
macOS
task

Tracking

()

RESOLVED FIXED
145 Branch
Tracking Status
firefox145 --- fixed

People

(Reporter: aleiserson, Assigned: aleiserson)

References

Details

(Keywords: dev-doc-needed)

Attachments

(2 files)

No description provided.
Attachment #9518149 - Attachment description: Bug 1992212 - Enable WebGPU by default on MacOS aarch64 → Bug 1992212 - Enable WebGPU by default on MacOS aarch64 r=#webgpu-reviewers!

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.

Keywords: leave-open
Summary: Enable WebGPU by default for MacOS on ARM architecture → Enable WebGPU by default for MacOS Tahoe on ARM architecture
Pushed by aleiserson@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/5c55cb99fed3 https://hg.mozilla.org/integration/autoland/rev/dba752234ac1 Enable WebGPU by default on MacOS aarch64 r=webidl,dom-worker-reviewers,webgpu-reviewers,smaug,ErichDonGubler,saschanaz,edenchuang
See Also: → 1993341
Status: NEW → ASSIGNED
Keywords: leave-open
Pushed by aleiserson@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/5dc0d50b161c https://hg.mozilla.org/integration/autoland/rev/db6c3e81921b Block WebGPU on pre-Tahoe MacOS r=webgpu-reviewers,taskgraph-reviewers,jmaher,ErichDonGubler
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 145 Branch
QA Whiteboard: [qa-triage-done-c146/b145]

Summarizing what was done here and the factors governing WebGPU enablement on MacOS:

  • Starting in Firefox 145, the default for the dom.webgpu.enabled preference in StaticPrefList was changed from false to true when defined(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_REQUIRED if 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.

See Also: → 1987533
Keywords: dev-doc-needed
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: