← v152/webgpu-subgroup-size-control · conformance
critique · rev 1
v152/webgpu-subgroup-size-control
rubric
| dimension | score | severity | evidence |
|---|---|---|---|
| factual-source-fidelity | 5/5 | info | Every signature and rule traces to a source fetched live 2026-07-29: WGSL §12.14 attribute text and §4.1.1 extension row quoted verbatim from gpuweb.github.io (power-of-two const-vs-override error split; workgroup_size.x divisibility; min/max range; uncategorized-error clause; co-enablement of subgroups); WebGPU feature-index entry quoted (auto-enables subgroups; no optional API surfaces); requestDevice TypeError convergence quoted from the spec's device-timeline steps; proposal status 'Merged' verified at gpuweb/gpuweb. |
| milestone-mapping | 5/5 | info | Slug webgpu-subgroup-size-control is the slugified listing name; the milestone=152 listing files id 5077657663438848 under 'Enabled by default' (fetched 2026-07-29). Intent-to-Ship thread records desktop/Android/WebView all 152 and 'Will ship enabled for all users'; chromium-idl enum value present at trunk. |
| completeness | 5/5 | info | The developer-facing surface is small and fully inventoried: the GPUFeatureName value, the device-enablement algorithm (grant + auto-subgroups + no new limits/API surface per gpuweb#6241), the WGSL enable extension, and the @subgroup_size attribute. All 4 items map to nine dimensions in reference-contract.json (one sourced not-applicable: the directive has no parameters). |
| explanation-quality | 4/5 | info | Overview leads with the practical trap (no supported-size query — validate at pipeline creation) in the warn-block, explains motivation via the proposal's three problems and native-API mapping, and separates device-level (overview) from shader-level (child route) contracts. The dual error taxonomy (shader-creation vs pipeline-creation vs uncategorized) is presented as a single table. |
| examples | 4/5 | info | JS feature-detect + request snippet and fixed-size WGSL snippet are verbatim from the proposal; the override-expression variant and the fallback-pipeline JS are gendn-derived and labelled as such in the citation. Runtime execution not possible locally (no GPU/WebGPU in headless container). |
| browser-compat-fallbacks | 5/5 | info | BCD has no entry (GPUSupportedFeatures.json checked — feature_subgroups exists, no subgroup-size-control key); webstatus has only webgpu-subgroups (limited). Compat tables are labelled interim, cite the listing + intent for Chrome 152, and present Firefox/Safari as positive-position-but-unrecorded rather than inventing version numbers. |
| links-validity | 5/5 | info | All citations are direct <a href> links (zero plain-text labels); every cited source URL appears as a link on the mapping page (contract validator enforces). Spec anchors verified present in the live spec HTML before citing. |
| accessibility | 5/5 | info | Single h1 per page, ordered h2 sections, row-header th scope='row' on at-a-glance tables, thead on multi-row tables, iframe has a descriptive title, banner uses role='note' with aria-label. |
| responsive-ux | 5/5 | info | h1/lede/code use overflow-wrap:anywhere; wide tables inside .table-wrap{overflow-x:auto}; pre blocks scroll internally. Mobile 390px and desktop 1280px screenshots captured and read (see report); no horizontal overflow. |
| showcase-demo-relationship | 5/5 | info | CPS feature index + all three concept routes (feature-gate, shader-builder, workgroup-validation) HEAD-200 verified 2026-07-29; shader-builder embedded as a lazy iframe with a caption noting the WebGPU requirement and graceful feature-detect behavior. |
modern-web-guidance consulted
- data table layout responsive reference documentation — Lean on intrinsic sizing and the browser layout engine; avoid hardcoded dimensions; keep overflow contained. (Tables render inside .table-wrap{overflow-x:auto} with overflow-wrap:anywhere on cells; no fixed pixel widths beyond the 30%/7.5rem row-header convention; pre blocks scroll internally.)
- accessible technical documentation tables code blocks — Semantic structure (single h1, ordered headings, labelled tables) and descriptive titles for embedded frames. (Applied: single h1, h2-only sections, scope='row' row headers, thead column headers, titled iframe, role='note' banner.)
open questions
- Dawn backend source checked 2026-10-08 documents conditional feature exposure on Vulkan (subgroup size-control/full-subgroup capabilities), D3D12 (wave operations and SM 6.6+), and Metal (subgroups with equal min/max sizes). Which physical adapters/drivers passed those checks in historical Chrome 152 remains unmeasured; the overview distinguishes source support from deployed coverage.
- Does Dawn implement any clamping beyond the spec's min/max range (e.g. restricting to sizes the backend can guarantee for all workgroup sizes)? Not stated in public sources; the uncategorized-error path is the documented fallback.
- Dedicated feature-capability and WGSL validation tests are present in gpuweb/cts as of 2026-10-08; backend pass rates remain unmeasured. When will BCD add feature_subgroup-size-control and webstatus include this feature?
follow-up goals
- [medium · targeted-fix] When BCD adds api.GPUSupportedFeatures.feature_subgroup-size-control (or a WGSL entry), replace the interim compat tables on both pages with BCD-anchored rows.