mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 12:41:30 +11:00
Change signature of ComputePass::end() to self
As per review comment.
This commit is contained in:
parent
9980c858b6
commit
58836244a4
|
@ -743,7 +743,7 @@ impl<'a> ComputePass<'a> {
|
||||||
.dispatch(pipeline, descriptor_set, workgroup_count, workgroup_size);
|
.dispatch(pipeline, descriptor_set, workgroup_count, workgroup_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub unsafe fn end(&mut self) {
|
pub unsafe fn end(self) {
|
||||||
self.cmd_buf.cmd_buf().end_compute_pass();
|
self.cmd_buf.cmd_buf().end_compute_pass();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue