gpu: implement Dawn deviceCreateBindGroupLayout
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
b3cc3d9f5f
commit
01cd28eca5
1 changed files with 4 additions and 3 deletions
|
|
@ -403,9 +403,10 @@ pub const Interface = gpu.Interface(struct {
|
|||
}
|
||||
|
||||
pub inline fn deviceCreateBindGroupLayout(device: *gpu.Device, descriptor: *const gpu.BindGroupLayout.Descriptor) *gpu.BindGroupLayout {
|
||||
_ = device;
|
||||
_ = descriptor;
|
||||
unreachable;
|
||||
return @ptrCast(*gpu.BindGroupLayout, procs.deviceCreateBindGroupLayout.?(
|
||||
@ptrCast(c.WGPUDevice, device),
|
||||
@ptrCast(*const c.WGPUBindGroupLayoutDescriptor, descriptor),
|
||||
));
|
||||
}
|
||||
|
||||
pub inline fn deviceCreateBuffer(device: *gpu.Device, descriptor: *const gpu.Buffer.Descriptor) *gpu.Buffer {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue