gpu: implement Device.tick
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
789f6291e4
commit
482d5aaa34
2 changed files with 11 additions and 2 deletions
|
|
@ -533,6 +533,11 @@ const device_vtable = Device.VTable{
|
|||
);
|
||||
}
|
||||
}).createRenderPipelineAsync,
|
||||
.tick = (struct {
|
||||
pub fn tick(ptr: *anyopaque) void {
|
||||
c.wgpuDeviceTick(@ptrCast(c.WGPUDevice, ptr));
|
||||
}
|
||||
}.tick),
|
||||
};
|
||||
|
||||
inline fn convertComputePipelineDescriptor(descriptor: *const ComputePipeline.Descriptor) c.WGPUComputePipelineDescriptor {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue