Closed Bug 2059441 Opened 1 month ago Closed 1 month ago

Avoid enabling certain mac driver bug workarounds on Metal ANGLE

Categories

(Core :: Graphics: WebRender, task)

task

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: jnicol, Assigned: jnicol)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxpe])

Attachments

(1 file)

On macOS we have a few different driver bug workarounds in webrender:

The latter two of these only apply to AMD GPUs, but we unconditionally apply the workaround anyway because it's possible that the device is created on another GPU and then migrated to an AMD GPU at runtime.

These bugs presumably don't apply to Metal ANGLE -- I did a quick sanity check on an AMD device, but didn't test in depth. Additionally, Metal ANGLE does not support GPU migration, so there's no need to pessimistically apply the workaround. (Currently we block Metal ANGLE on devices with multiple GPUs, and when we eventually support such devices we'll need to do something like recreating the renderer rather than just migrating the GL context.)

Avoiding the PBO offset limitation looks like it will be especially valuable from the profiles I've looked at, as it will allow us to use the same PBO for multiple uploads, reducing the number of required allocations.

Metal ANGLE does not appear to be affected by these driver bugs. And
since it does not support GPU migration we don't need to
pessimistically apply them even on unaffected GPUs.

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
QA Whiteboard: [qa-triage-done-c156/b155]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: