gpu: implement Dawn commandEncoderInsertDebugMarker

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 17:01:24 -07:00 committed by Stephen Gutekanst
parent 7023a42306
commit dc227032e0

View file

@ -248,9 +248,10 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn commandEncoderInsertDebugMarker(command_encoder: *gpu.CommandEncoder, marker_label: [*:0]const u8) void {
_ = command_encoder;
_ = marker_label;
unreachable;
procs.commandEncoderInsertDebugMarker.?(
@ptrCast(c.WGPUCommandEncoder, command_encoder),
marker_label,
);
}
pub inline fn commandEncoderPopDebugGroup(command_encoder: *gpu.CommandEncoder) void {