Expand description
Compute shader pipeline — general-purpose GPU compute.
Wraps wgpu::ComputePipeline with bind group layout management and
dispatch helpers. Supports single or multiple bind group layouts.
Structs§
- Compute
Pipeline - A compute pipeline wrapping
wgpu::ComputePipelinewith bind group management. - Ping
Pong Buffer - A double-buffer pair for iterative compute patterns (ping-pong).
Functions§
- validate_
dispatch - Validate workgroup counts against device limits.
- workgroups_
1d - Calculate workgroup count for a 1D dispatch.
- workgroups_
2d - Calculate workgroup counts for a 2D dispatch.