gpu: implement Dawn adapterReference

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

View file

@ -72,8 +72,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn adapterReference(adapter: *gpu.Adapter) void {
_ = adapter;
unreachable;
procs.adapterReference.?(@ptrCast(c.WGPUAdapter, adapter));
}
pub inline fn adapterRelease(adapter: *gpu.Adapter) void {