From 01f51306e80201d10aac136dbdb4aef5e74ad65c Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sat, 30 Jul 2022 15:34:38 -0700 Subject: [PATCH] gpu: implement Dawn queueSetLabel Signed-off-by: Stephen Gutekanst --- gpu/src/dawn_impl.zig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gpu/src/dawn_impl.zig b/gpu/src/dawn_impl.zig index 6d1217ce..fad8ba3d 100644 --- a/gpu/src/dawn_impl.zig +++ b/gpu/src/dawn_impl.zig @@ -686,9 +686,7 @@ pub const Interface = gpu.Interface(struct { } pub inline fn queueSetLabel(queue: *gpu.Queue, label: [*:0]const u8) void { - _ = queue; - _ = label; - unreachable; + procs.queueSetLabel.?(@ptrCast(c.WGPUQueue, queue), label); } pub inline fn queueSubmit(queue: *gpu.Queue, command_count: u32, commands: [*]*gpu.CommandBuffer) void {