gpu: implement Dawn deviceDestroy

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 16:50:04 -07:00 committed by Stephen Gutekanst
parent 3ea6cb90de
commit e42157d69a

View file

@ -501,8 +501,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn deviceDestroy(device: *gpu.Device) void {
_ = device;
unreachable;
procs.deviceDestroy.?(@ptrCast(c.WGPUDevice, device));
}
pub inline fn deviceEnumerateFeatures(device: *gpu.Device, features: [*]gpu.FeatureName) usize {