gpu: implement Dawn deviceSetLabel

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:33:32 -07:00 committed by Stephen Gutekanst
parent a299241fb7
commit d39e353587

View file

@ -561,9 +561,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn deviceSetLabel(device: *gpu.Device, label: [*:0]const u8) void {
_ = device;
_ = label;
unreachable;
procs.deviceSetLabel.?(@ptrCast(c.WGPUDevice, device), label);
}
pub inline fn deviceSetLoggingCallback(device: *gpu.Device, callback: gpu.LoggingCallback, userdata: *anyopaque) void {