1
0
Fork 0
forked from wry/wry

vulkan: add an async allocator

This commit is contained in:
Julian Orth 2024-09-07 17:38:12 +02:00
parent fe8238421f
commit 37fb45df00
6 changed files with 335 additions and 72 deletions

View file

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