v132 · graphics

WebGPU: Expose GPUAdapterInfo from GPUDevice

Functionality added to the WebGPU spec after its first shipment in a browser. The GPUDevice adapterInfo attribute exposes the same GPUAdapterInfo as the GPUAdapter object..

concepts

  1. GPUDevice.adapterInfo

    GPUDevice exposes adapterInfo directly. No more 'remember the adapter you requested the device from' bookkeeping.

  2. lost-device telemetry

    The motivating use case: when device.lost fires, file a crash report with vendor/architecture in one line.

  3. live adapterInfo probe

    Real WebGPU probe of the browser's GPU. Side-by-side adapter.info vs device.adapterInfo, with detection for isFallbackAdapter.

  4. Device Info Explorer

    Reads all GPUAdapterInfo fields from both adapter.info and device.adapterInfo side by side. Generates a simulated error report showing the new pattern in action.

  5. Device Info Dashboard

    Probe your real GPU via device.adapterInfo (Chrome 132) and display vendor, architecture, description, and feature level. Falls back to the adapter-side adapter.info for pre-132 browsers, with a simulated data view showing the full object shape.

why it shipped

It is important for libraries that take user-provided GPUDevice objects to access information about the physical GPU, as they may need to optimize or implement workarounds based on the GPU architecture. While it is possible to access to this information through the GPUAdapter object, there is no direct way to get it from a GPUDevice alone. This can be inconvenient, as it may require users to provide additional information alongside the GPUDevice.

references