Basic buffer creation

This commit is contained in:
Dzmitry Malyshau committed 2019-01-21 16:18:56 -05:00
1 parent 4f939bc32f
commit 32f7ae4f28
4 files changed
+103 -21

No files matched your search

-4
View File
@@ -107,10 +107,6 @@ impl<B: hal::Backend> CommandAllocator<B> {
self.inner.lock().pending.push(cmd_buf);
}
pub fn recycle(&self, cmd_buf: CommandBuffer<B>) {
self.inner.lock().recycle(cmd_buf);
}
pub fn maintain(&self, last_done: SubmissionIndex) {
let mut inner = self.inner.lock();
for i in (0..inner.pending.len()).rev() {