demo · v131
GPUAdapter.requestAdapterInfo() removed
The non-standard requestAdapterInfo() method is gone. The replacement is the synchronous adapter.info getter. Click the button to probe both and see what your browser exposes.
legacy: requestAdapterInfo()
-
replacement: adapter.info
-
the api
const adapter = await navigator.gpu.requestAdapter();
// Removed in 131:
// const info = await adapter.requestAdapterInfo();
// Use:
const info = adapter.info;
console.log(info.vendor, info.architecture, info.device);