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