gpu: implement ComputePassEncoder.pushDebugGroup
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
c8f3f96c4e
commit
7525f088c3
2 changed files with 10 additions and 2 deletions
|
|
@ -1630,6 +1630,11 @@ const compute_pass_encoder_vtable = ComputePassEncoder.VTable{
|
|||
c.wgpuComputePassEncoderPopDebugGroup(@ptrCast(c.WGPUComputePassEncoder, ptr));
|
||||
}
|
||||
}).popDebugGroup,
|
||||
.pushDebugGroup = (struct {
|
||||
pub fn pushDebugGroup(ptr: *anyopaque, group_label: [*:0]const u8) void {
|
||||
c.wgpuComputePassEncoderPushDebugGroup(@ptrCast(c.WGPUComputePassEncoder, ptr), group_label);
|
||||
}
|
||||
}).pushDebugGroup,
|
||||
};
|
||||
|
||||
fn wrapComputePipeline(pipeline: c.WGPUComputePipeline) ComputePipeline {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue