← Back to release summary

WebGPU: GPUAdapter info attribute

Category
Graphics
Type
Chromium catches up
Status
Enabled by default (Chrome 127)
Intent stage
None

Summary

Functionality added to the WebGPU spec after its first shipment in a browser. Adds a synchronous GPUAdapter info attribute to retrieve same information about the physical adapter as with the asynchronous GPUAdapter requestAdapterInfo() method. A separate Intent will be sent to deprecate and remove the asynchronous GPUAdapter requestAdapterInfo() method.

Motivation

Currently, developers can only get GPUAdapterInfo asynchronously using the GPUAdapter requestAdapterInfo() method. But the WebGPU WG determined it was impractical for requestAdapterInfo() to trigger a permission prompt at this point and removed that option, then decided to replace it with a new GPUAdapter info attribute so they can get GPUAdapterInfo synchronously with https://github.com/gpuweb/gpuweb/pull/4662

Standards & signals

View on chromestatus.com