gpu: implement Dawn commandEncoderSetLabel

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

View file

@ -274,9 +274,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn commandEncoderSetLabel(command_encoder: *gpu.CommandEncoder, label: [*:0]const u8) void {
_ = command_encoder;
_ = label;
unreachable;
procs.commandEncoderSetLabel.?(@ptrCast(c.WGPUCommandEncoder, command_encoder), label);
}
pub inline fn commandEncoderWriteBuffer(command_encoder: *gpu.CommandEncoder, buffer: *gpu.Buffer, buffer_offset: u64, data: [*]const u8, size: u64) void {