mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 22:41:07 +01:00
Basic buffer creation
This commit is contained in:
1 parent
4f939bc32f
commit
32f7ae4f28
4 files changed
+103
-21
No files matched your search
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user