v138 · miscellaneous
WebGPU: Deprecate GPUAdapter isFallbackAdapter attribute
Deprecates the GPUAdapter isFallbackAdapter boolean attribute from WebGPU, which is redundant with the GPUAdapterInfo isFallbackAdapter boolean attribute.
concepts
-
isFallbackAdapter
isFallbackAdapter is replaced by adapter.info.adapterType. Cleaner, more extensible info surface.
-
Adapter selection
The three-way enum at work: discrete vs integrated vs CPU. Workload picker shows how training, low-power charts, and CI tests want different adapter types — impossible to express with the old boolean.
-
Adapter Capabilities Diff
Live readout of your adapter’s
infofields — adapterType, vendor, architecture, device — and a limits table comparing every capability to the WebGPU spec defaults. Shows the old deprecated API surface alongside the new one. -
Migration guide
Side-by-side old
adapter.isFallbackAdaptervs newadapter.info.adapterTypecode. Runs live against your real WebGPU adapter. Includes a migration checker: paste any code snippet and it flags deprecatedisFallbackAdapterusage with the correct replacement.
why it shipped
Removing GPUAdapter isFallbackAdapter boolean attribute eliminates unnecessary complexity and potential confusion by consolidating the functionality within the existing GPUAdapterInfo isFallbackAdapter boolean attribute. This change promotes cleaner code and a more intuitive development experience.