Change signature of ComputePass::end() to self

As per review comment.
This commit is contained in:
Raph Levien 2022-04-20 09:19:22 -07:00
parent 9980c858b6
commit 58836244a4

View file

@ -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();
} }
} }