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

  1. isFallbackAdapter

    isFallbackAdapter is replaced by adapter.info.adapterType. Cleaner, more extensible info surface.

  2. 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.

  3. Adapter Capabilities Diff

    Live readout of your adapter’s info fields — 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.

  4. Migration guide

    Side-by-side old adapter.isFallbackAdapter vs new adapter.info.adapterType code. Runs live against your real WebGPU adapter. Includes a migration checker: paste any code snippet and it flags deprecated isFallbackAdapter usage 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.

references