v139 · miscellaneous

WebGPU 'core-features-and-limits'

The 'core-features-and-limits' feature signifies a WebGPU adapter and device support the core features and limits of the spec.

concepts

  1. Core Features List

    WebGPU "core-features-and-limits" — the baseline guaranteed on conforming adapters. Sites can rely on this set without runtime feature detection for the common path.

  2. Compat Gate

    The future use the spec actually anticipates: branching between full-core adapters and Compatibility Mode adapters. Probes your device, shows the features list and which branch your code should take.

  3. Core Limits Comparator

    Probe this device's adapter limits and compare them against the WebGPU core baseline, row by row, with a verdict pill (meets / exceeds / under) and a summary you can branch on.

  4. WGSL Shader Compilation Tester

    Write a WGSL compute shader, click Compile — GPUShaderModule.getCompilationInfo() shows success, warnings, and errors with line numbers. Four presets: simple pass-through, limit-exceeding, syntax error, and feature-extension shader. A limits panel shows key device.limits values and flags hardcoded constants that exceed minimum guaranteed limits.

why it shipped

At this stage the spec requires that all WebGPU implementations report this feature.

references