demo · v132

WebGPU float32-blendable — live probe

If your adapter advertises the float32-blendable feature, the page requests a device with it enabled, creates a rgba32float render target, and blends two HDR triangles into it. Otherwise the request fails gracefully.

navigator.gpu: —
adapter: —
float32-blendable: —
click to attempt the render

the code

const adapter = await navigator.gpu.requestAdapter();
if (!adapter.features.has("float32-blendable")) throw "feature missing";
const device = await adapter.requestDevice({ requiredFeatures: ["float32-blendable"] });
// now rgba32float color targets can blend

see also