gpu: implement Dawn bindGroupLayoutRelease

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:16:14 -07:00 committed by Stephen Gutekanst
parent ff5791c4cc
commit 1919e7cd64

View file

@ -104,8 +104,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn bindGroupLayoutRelease(bind_group_layout: *gpu.BindGroupLayout) void {
_ = bind_group_layout;
unreachable;
procs.bindGroupLayoutRelease.?(@ptrCast(c.WGPUBindGroupLayout, bind_group_layout));
}
pub inline fn bufferDestroy(buffer: *gpu.Buffer) void {