WebGPU: Support `rgba16float` texture format in `GPUCanvasConfiguration`s
Categories
(Core :: Graphics: WebGPU, task, P3)
Tracking
()
People
(Reporter: ErichDonGubler, Unassigned)
References
(Depends on 1 open bug, Blocks 3 open bugs)
Details
(Keywords: leave-open)
Attachments
(1 file)
rgba16float is a “supported context format” per section 21.4 of the current WebGPU v1 spec. draft (GPUCanvasConfiguration). We currently don't support it, and we need to!
| Reporter | ||
Comment 1•2 years ago
•
|
||
We have failures in CTS right now where specifying GPUCanvasConfiguration.format = "rgba16float" to GPUCanvasContext.configureCanvas causes CanvasContext.cpp:CanvasContext::Configure in C++ to run into this lack of support. I don't see an immediate match for the layout of data in rgba16float in gfx::SurfaceFormat's variants, but that's what we'll need in order to fully support this.
| Reporter | ||
Comment 2•2 years ago
|
||
:jgilbert has indicated that she's already got patches in the works to fix this. Assigning to her.
| Reporter | ||
Updated•2 years ago
|
| Reporter | ||
Updated•2 years ago
|
| Reporter | ||
Updated•2 years ago
|
Updated•1 year ago
|
Updated•1 year ago
|
| Reporter | ||
Updated•7 months ago
|
| Reporter | ||
Updated•7 months ago
|
Updated•6 months ago
|
Comment 4•6 months ago
|
||
As noted in bug 1967329, the error here will now be TypeError: GPUCanvasContext.configure: Canvas texture format 'rgba16float' is not yet supported. Subscribe to <https://bugzilla.mozilla.org/show_bug.cgi?id=1967329> for updates on its development in Firefox.
I am also going to reference this bug from the (commented out) toneMapping and colorSpace members of GPUCanvasConfiguration.
Comment 5•6 months ago
|
||
Firefox isn't going to have the underlying support for presenting rgba16float textures in 2025H1, so this bug is no longer considered a webgpu-mvp blocker.
Comment 6•5 months ago
|
||
Having rgba16float available would be more than awesome. Currently I develop a spatial audio web app with an HDR visualizer. HDR display technology is available on many devices. I'd be happy to assist in testing as a developer and as a colorist on my calibrated monitors in any available color spaces. Best from Berlin, Gabriel
| Reporter | ||
Comment 7•3 months ago
|
||
Updated•3 months ago
|
| Reporter | ||
Updated•3 months ago
|
Updated•3 months ago
|
| Reporter | ||
Updated•3 months ago
|
| Comment hidden (metoo) |
Comment 10•3 months ago
|
||
| bugherder | ||
Description
•