demo · v138
Migration guide
Chrome 138 deprecates GPUAdapter.isFallbackAdapter. The replacement is GPUAdapter.info.adapterType, which returns a richer enum value instead of a boolean. Detect what your adapter actually is, and use the migration checker to flag deprecated usage in your own code.
checking support…
old API vs new API
Before Chrome 138
deprecatedconst adapter = await navigator.gpu
.requestAdapter();
// Boolean — only tells you
// whether it's a software fallback
if (adapter.isFallbackAdapter) {
showFallbackWarning();
}
Chrome 138+
recommendedconst adapter = await navigator.gpu
.requestAdapter();
// Enum — richer information
const type = adapter.info.adapterType;
// "discrete-gpu" | "integrated-gpu"
// | "cpu" | "unknown"
if (type === "cpu") {
showFallbackWarning();
}
| adapterType value | Meaning | isFallbackAdapter equivalent |
|---|---|---|
"discrete-gpu" |
Dedicated GPU (NVIDIA, AMD, etc.) | false |
"integrated-gpu" |
GPU built into the CPU die | false |
"cpu" |
Software rasterizer (WARP, lavapipe) | true |
"unknown" |
Type not exposed by the driver | false (was ambiguous) |
your browser's adapter
Live detection results
WebGPU availablechecking…
adapter.isFallbackAdapter—
adapter.info.adapterType—
adapter.info.vendor—
adapter.info.architecture—
adapter.info.device—
adapter.info.description—
isFallbackAdapter API present—
info.adapterType API present—