Closed Bug 1924328 Opened 1 year ago Closed 21 days ago

WebGPU: Support dual-source blending (`dual-source-blending` device feature)

Categories

(Core :: Graphics: WebGPU, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: ErichDonGubler, Assigned: ErichDonGubler)

References

(Blocks 2 open bugs)

Details

(Keywords: dev-doc-complete, webcompat:platform-bug)

User Story

user-impact-score:60

Attachments

(2 files, 3 obsolete files)

Upstream WGPU issue: wgpu#6402

Summary: WebGPU: Support dual-source blending → WebGPU: Support dual-source blending (`dual-source-blending` device feature)
Priority: -- → P3
Assignee: nobody → egubler
Status: NEW → ASSIGNED
Pushed by egubler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5fec1334c4d2 feat(webgpu): recognize unimplemented `dual-source-blending` feature r=webgpu-reviewers,webidl,teoxoy,saschanaz

I'm going to leave the full resolution of this bug for later. With bug 1933324, users will be directed to this bug to holler if they're blocked.

Assignee: egubler → nobody
Status: ASSIGNED → NEW
See Also: → 1933324

Coverage for blend factors is mostly at webgpu:api,operation,rendering,color_target_state:blending,*, but these tests skip testing these factors if the dual-source-blending feature isn't supported. This change is mostly intended to improve diagnostics while waiting for dual-source-blending is implemented.

I think the implementation should be trivial, now that upstream WGPU has an implementation that supposedly works. Fired off a Try push with some easy changes at try:c6309e98d743. 🤞🏻

Assignee: nobody → egubler
Status: NEW → ASSIGNED
User Story: (updated)

The leave-open keyword is there and there is no activity for 6 months.
:ErichDonGubler, maybe it's time to close this bug?
For more information, please visit BugBot documentation.

Flags: needinfo?(egubler)
See Also: → 2035198

Moving across the world entirely consumed my time for the last little bit. But I do plan on putting this over the line!

Flags: needinfo?(egubler)
Attachment #9508994 - Attachment is obsolete: true
Attachment #9508992 - Attachment is obsolete: true
Attachment #9508993 - Attachment description: WIP: Bug 1924328 - chore(webgpu): document reliance on `enum` discriminants matching for blend factors r=#webgpu-reviewers → Bug 1924328 - chore(webgpu): document reliance on `enum` discriminants matching for blend factors r=#webgpu-reviewers
Pushed by aleiserson@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/41b180029e18 https://hg.mozilla.org/integration/autoland/rev/b19603ce8222 WebGPU: Enable `dual-source-blending` feature, when available r=webgpu-reviewers,webidl,saschanaz,ErichDonGubler

Comment on attachment 9508993 [details]
Bug 1924328 - chore(webgpu): document reliance on enum discriminants matching for blend factors r=#webgpu-reviewers

Revision D262249 was moved to bug 2059417. Setting attachment 9508993 [details] to obsolete.

Attachment #9508993 - Attachment is obsolete: true
See Also: → 2059417
Status: ASSIGNED → RESOLVED
Closed: 21 days ago
Keywords: leave-open
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
QA Whiteboard: [qa-triage-done-c156/b155]

FF155 MDN docs work for this can be tracked in https://github.com/mdn/content/issues/45176

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: