v152 · webgpu · compute
Feature gate
This demo uses real WebGPU feature detection and WGSL strings from the proposal. If WebGPU or subgroup-size-control is unavailable, it reports the fallback branch instead of pretending the feature ran.
Check adapter support
The optional feature string is subgroup-size-control. Apps must check it before adding it to requestDevice({ requiredFeatures }).
| Status | Waiting for probe. |
|---|
code path
const adapter = await navigator.gpu.requestAdapter();
const supported = adapter.features.has("subgroup-size-control");