wgpu_examples

Module hello_workgroups

Source
Expand description

This example assumes that you’ve seen hello-compute and or repeated-compute and thus have a general understanding of what’s going on here.

There’s an explainer on what this example does exactly and what workgroups are and the meaning of @workgroup(size_x, size_y, size_z) in the README. Also see commenting in shader.wgsl as well.

Only parts specific to this example will be commented.

Functions§