gpu: implement ComputePassEncoder.insertDebugMarker
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
080edfe49a
commit
3a646b6713
2 changed files with 12 additions and 2 deletions
|
|
@ -1620,6 +1620,11 @@ const compute_pass_encoder_vtable = ComputePassEncoder.VTable{
|
|||
c.wgpuComputePassEncoderSetLabel(@ptrCast(c.WGPUComputePassEncoder, ptr), label);
|
||||
}
|
||||
}).setLabel,
|
||||
.insertDebugMarker = (struct {
|
||||
pub fn insertDebugMarker(ptr: *anyopaque, marker_label: [*:0]const u8) void {
|
||||
c.wgpuComputePassEncoderInsertDebugMarker(@ptrCast(c.WGPUComputePassEncoder, ptr), marker_label);
|
||||
}
|
||||
}).insertDebugMarker,
|
||||
};
|
||||
|
||||
fn wrapComputePipeline(pipeline: c.WGPUComputePipeline) ComputePipeline {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue