These resources can help you understand workgroups in compute shaders:
- Compute Shaders and Workgroups in the WebGPU Shading Language spec
- Get started with GPU Compute on the web, and more precisely the Commands submission section
Note that compute shaders are not WebGPU-specific, so any resource about them that you find on the web should also be relevant to WebGPU.