gpu: implement Dawn adapterRelease

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:14:53 -07:00 committed by Stephen Gutekanst
parent e48e487358
commit c7d9ebb47f

View file

@ -76,8 +76,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn adapterRelease(adapter: *gpu.Adapter) void {
_ = adapter;
unreachable;
procs.adapterRelease.?(@ptrCast(c.WGPUAdapter, adapter));
}
pub inline fn bindGroupSetLabel(bind_group: *gpu.BindGroup, label: [*:0]const u8) void {