vulkan: add an async allocator
This commit is contained in:
parent
fe8238421f
commit
37fb45df00
6 changed files with 335 additions and 72 deletions
|
|
@ -290,7 +290,6 @@ impl CpuWorker {
|
|||
})
|
||||
}
|
||||
|
||||
#[expect(dead_code)]
|
||||
pub fn submit(&self, job: Box<dyn CpuJob>) -> PendingJob {
|
||||
let mut job = NonNull::from(Box::leak(job));
|
||||
let id = self.data.next.next();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue