Closed
Bug 1841142
Opened 1 year ago
Closed 1 year ago
`GPUBuffer.unmap` should not yield an error when buffer is invalid
Categories
(Core :: Graphics: WebGPU, defect, P1)
Core
Graphics: WebGPU
Tracking
()
RESOLVED
FIXED
People
(Reporter: ErichDonGubler, Assigned: ErichDonGubler)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file, 1 obsolete file)
Relevant link: https://github.com/gpuweb/cts/issues/1930
Steps to reproduce
-
Build Firefox off changes from bug 1840179 or later.
-
Run
webgpu:api,operation,buffers,map:mappedAtCreation,mapState:*
test cases from WebGPU's CTS. Observe that an extra validation error is thrown whenbuffer.unmap
is called in the test's source.For convenience, the above can be automated with this
mach
command:./mach wpt webgpu:api,operation,buffers,map:mappedAtCreation,mapState:*
Note that while the above repro. steps are based on bug 1840179, this bug existed before then.
Assignee | ||
Updated•1 year ago
|
Keywords: leave-open
Assignee | ||
Comment 1•1 year ago
|
||
Depends on D182103
Assignee | ||
Comment 2•1 year ago
|
||
Depends on D183052
Comment 3•1 year ago
|
||
Comment on attachment 9342836 [details]
Bug 1841142: fix(webgpu): don't return an error for GPUBuffer.unmap
when this.[[device]]
is invalid r?#webgpu-reviewers
Revision D183052 was moved to bug 1838693. Setting attachment 9342836 [details] to obsolete.
Attachment #9342836 -
Attachment is obsolete: true
Pushed by egubler@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/dfdc3fbce9b4
fix(webgpu): don't return an error for `GPUBuffer.unmap` when `this` is invalid r=webgpu-reviewers,nical
Comment 5•1 year ago
|
||
bugherder |
Assignee | ||
Updated•1 year ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•