← Back to release summary

WebGPU: `subgroup_id` feature

Category
Graphics
Type
New or changed feature
Status
Proposed (Chrome Proposed)
Intent stage
None

Summary

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.

Motivation

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.

Standards & signals

Explainers: https://github.com/gpuweb/gpuweb/blob/486577ae07e0fe3c433859499a1b558ee7c5275b/proposals/subgroup-id.md

View on chromestatus.com