simple_wgpu/
dispatch.rs

1use crate::{bind_group::BindGroup, compute_pipeline::ComputePipeline};
2
3/// All of the data needed to issue a single compute operation
4#[derive(Debug)]
5pub struct Dispatch {
6    pub bind_groups: Vec<BindGroup>,
7    pub bind_group_offsets: Vec<Vec<u32>>,
8    pub pipeline: ComputePipeline,
9    pub extent: (u32, u32, u32),
10}