gpu: implement Dawn commandBufferSetLabel

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:31:37 -07:00 committed by Stephen Gutekanst
parent 3821eaacff
commit c585d716c6

View file

@ -161,9 +161,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn commandBufferSetLabel(command_buffer: *gpu.CommandBuffer, label: [*:0]const u8) void {
_ = command_buffer;
_ = label;
unreachable;
procs.commandBufferSetLabel.?(@ptrCast(c.WGPUCommandBuffer, command_buffer), label);
}
pub inline fn commandBufferReference(command_buffer: *gpu.CommandBuffer) void {