demo · v136
Adapter Strategy
Pretend you're a graphics library. Pick a strategy — "GPU-only, refuse fallback", "Prefer high-perf, accept fallback", or "CPU twin shader" — and the page requests adapters under that policy, reading adapter.info.isFallbackAdapter and device.adapterInfo.isFallbackAdapter to decide what to do.
Note: Requires WebGPU. Without it the strategy card explains the decision without running it.
requestAdapter()
—
requestDevice() · device.adapterInfo
—
decision
click "Run strategy".