Closed
Bug 1806699
Opened 1 year ago
Closed 1 year 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•1 year 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•1 year 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•1 year ago
|
Severity: -- → S3
Flags: needinfo?(jimb)
Priority: -- → P1
Assignee | ||
Comment 3•1 year ago
|
||
Updated•1 year 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•1 year ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 year 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
•