pub(crate) trait GPUComputePassEncoderMethods<D: DomTypes> {
// Required methods
fn SetPipeline(&self, pipeline: &D::GPUComputePipeline);
fn DispatchWorkgroups(&self, x: u32, y: u32, z: u32);
fn DispatchWorkgroupsIndirect(
&self,
indirectBuffer: &D::GPUBuffer,
indirectOffset: u64,
);
fn End(&self);
fn Label(&self) -> USVString;
fn SetLabel(&self, value: USVString);
fn SetBindGroup(
&self,
index: u32,
bindGroup: &D::GPUBindGroup,
dynamicOffsets: Vec<u32>,
);
}