v131 · graphics
Remove non-standard GPUAdapter requestAdapterInfo() method
The WebGPU WG decided it was impractical for requestAdapterInfo() to trigger a permission prompt so they’ve removed that option and replaced it with the GPUAdapter info attribute so that web developers can get the same GPUAdapterInfo value synchronously this time. See the previous Intent to Ship: WebGPU: GPUAdapter info attribute at https://groups.google.com
concepts
-
requestAdapterInfo removed
Non-standard GPUAdapter.requestAdapterInfo() removed. adapter.info is the canonical surface.
-
Migration shim
Polyfill the removed
requestAdapterInfo()on top ofadapter.infoso legacy libraries keep working. -
Old async vs new sync
Run both in your browser side-by-side. See which is exposed.
-
Library audit table
Reference status for three.js, babylon.js, tensorflow.js, wgpu-py-rs. Which version of each is v131-safe.
why it shipped
The requestAdapterInfo() asynchronous method in WebGPU is redundant because developers can already get GPUAdapterInfo synchronously using the GPUAdapter info attribute. Hence, it should be removed.