demo · v139

Compat Gate

The future use of core-features-and-limits: when WebGPU Compatibility Mode ships, some adapters will only support a subset. Today, every conforming WebGPU implementation reports it — but the gating pattern lets your code branch cleanly between "I get all core features" and "I'm running on a restricted compat adapter".

your adapter

click Probe

features advertised

branch the page took

the code

const adapter = await navigator.gpu.requestAdapter();

if (adapter.features.has("core-features-and-limits")) {
  // full core spec — compute, storage textures, 8k bind groups
  device = await adapter.requestDevice({ requiredFeatures: ["timestamp-query"] });
} else {
  // compat-mode adapter — fall back to vertex/fragment-only pipeline
  device = await adapter.requestDevice({});
  showFallbackUI();
}

see also