gpu: implement Dawn deviceCreateRenderPipelineAsync
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
eb038120dd
commit
d699199506
1 changed files with 6 additions and 5 deletions
|
|
@ -498,11 +498,12 @@ pub const Interface = gpu.Interface(struct {
|
|||
}
|
||||
|
||||
pub inline fn deviceCreateRenderPipelineAsync(device: *gpu.Device, descriptor: *const gpu.RenderPipeline.Descriptor, callback: gpu.CreateRenderPipelineAsyncCallback, userdata: *anyopaque) void {
|
||||
_ = device;
|
||||
_ = descriptor;
|
||||
_ = callback;
|
||||
_ = userdata;
|
||||
unreachable;
|
||||
procs.deviceCreateRenderPipelineAsync.?(
|
||||
@ptrCast(c.WGPUDevice, device),
|
||||
@ptrCast(*const c.WGPURenderPipelineDescriptor, descriptor),
|
||||
@ptrCast(c.WGPUCreateRenderPipelineAsyncCallback, callback),
|
||||
userdata,
|
||||
);
|
||||
}
|
||||
|
||||
pub inline fn deviceCreateSampler(device: *gpu.Device, descriptor: ?*const gpu.Sampler.Descriptor) *gpu.Sampler {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue