Functionality added to the WebGPU spec after its first shipment in a browser. The `subgroup_id` and `num_subgroups` built-in values are now available when the subgroups extension is enabled.
The `subgroup_id` and `num_subgroups` built-in values are now available when the subgroups extension is enabled. This improves the process of scheduling work across subgroups in WebGPU compute shaders.
Explainers: https://github.com/gpuweb/gpuweb/blob/486577ae07e0fe3c433859499a1b558ee7c5275b/proposals/subgroup-id.md