gpu: implement Dawn commandEncoderInsertDebugMarker
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
7023a42306
commit
dc227032e0
1 changed files with 4 additions and 3 deletions
|
|
@ -248,9 +248,10 @@ pub const Interface = gpu.Interface(struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn commandEncoderInsertDebugMarker(command_encoder: *gpu.CommandEncoder, marker_label: [*:0]const u8) void {
|
pub inline fn commandEncoderInsertDebugMarker(command_encoder: *gpu.CommandEncoder, marker_label: [*:0]const u8) void {
|
||||||
_ = command_encoder;
|
procs.commandEncoderInsertDebugMarker.?(
|
||||||
_ = marker_label;
|
@ptrCast(c.WGPUCommandEncoder, command_encoder),
|
||||||
unreachable;
|
marker_label,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn commandEncoderPopDebugGroup(command_encoder: *gpu.CommandEncoder) void {
|
pub inline fn commandEncoderPopDebugGroup(command_encoder: *gpu.CommandEncoder) void {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue