Closed
Bug 1806699
Opened 3 years ago
Closed 3 years ago
WebIDL for WebGPU indirect draw/compute calls should be removed until validation is implemented
Categories
(Core :: Graphics: WebGPU, defect, P1)
Core
Graphics: WebGPU
Tracking
()
RESOLVED
FIXED
111 Branch
| Tracking | Status | |
|---|---|---|
| firefox111 | --- | fixed |
People
(Reporter: jimb, Assigned: jimb)
References
Details
Attachments
(1 file)
At present there is nothing to prevent invalid indices from being passed in the indirectBuffer arguments to the WebGPU drawIndirect and dispatchWorkgroupsIndirect device methods. These methods should be removed from the WebGPU WebIDL until that validation is implemented.
Bug 1786566 covers the validation work.
Comment 1•3 years ago
•
|
||
An alternative is to gate them behind a pref, for example "dom.webgpu.draw-indirect". I see annotations like that already in our webidl: https://searchfox.org/mozilla-central/rev/abf6758ed833c203f84703aa2e3e3d317571b1e9/dom/webidl/WebGPU.webidl#49
Comment 2•3 years ago
|
||
The severity field is not set for this bug.
:jimb, could you have a look please?
For more information, please visit auto_nag documentation.
Flags: needinfo?(jimb)
| Assignee | ||
Updated•3 years ago
|
Severity: -- → S3
Flags: needinfo?(jimb)
Priority: -- → P1
| Assignee | ||
Comment 3•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → jimb
Status: NEW → ASSIGNED
Pushed by jblandy@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e3689ce179c1
Make WebGPU indirect dispatch/draw pref-enabled. r=jgilbert,webidl,smaug
Comment 5•3 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox111:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•