`GPUBuffer` missing `readonly attribute`s
Categories
(Core :: Graphics: WebGPU, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox115 | --- | fixed |
People
(Reporter: ErichDonGubler, Assigned: ErichDonGubler)
References
Details
Attachments
(2 files, 1 obsolete file)
If you navigate to https://thimbleberry.dev after consuming the patch stack associated with bug 1830762, one encounters the following error in Nightly:
Uncaught (in promise) TypeError: GPURenderPassEncoder.draw: Argument 1 is not a finite value, so is out of range for unsigned long.
encodeCommands MosaicShader.ts:96
stampRange ShaderGroup.ts:21
<snip>
…which is caused by a reference to a GPUBuffer
's size
attribute being undefined
. 😲
It turns out that our implementation of WebGPU doesn't populate the readonly attribute
s specified to be on GPUBuffer
at all! We should, according to section 5.1 ("GPUBuffer
") of the current WebGPU v1 spec. draft (link).
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Assignee | ||
Comment 4•2 years ago
•
|
||
Sigh, the attachments/patch reviews associated got screwed up, because I typed the wrong bug in my patch messages. They're using a weird Custom
policy, and they're not auto-attached, so I did my best with manual attachments, but…it's not the same as what we normally see. 😖
Assignee | ||
Updated•2 years ago
|
Comment 6•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/402fde4fd386
https://hg.mozilla.org/mozilla-central/rev/f4b1acbddf56
Description
•