gpu: implement Dawn queueSetLabel

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:34:38 -07:00 committed by Stephen Gutekanst
parent c114f57a79
commit 01f51306e8

View file

@ -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 {