gpu: implement RenderBundleEncoder.pushDebugGroup
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
7c2d097625
commit
2c44f5c45e
2 changed files with 11 additions and 11 deletions
|
|
@ -1183,6 +1183,11 @@ const render_bundle_encoder_vtable = RenderBundleEncoder.VTable{
|
|||
c.wgpuRenderBundleEncoderPopDebugGroup(@ptrCast(c.WGPURenderBundleEncoder, ptr));
|
||||
}
|
||||
}).popDebugGroup,
|
||||
.pushDebugGroup = (struct {
|
||||
pub fn pushDebugGroup(ptr: *anyopaque, group_label: [*:0]const u8) void {
|
||||
c.wgpuRenderBundleEncoderPushDebugGroup(@ptrCast(c.WGPURenderBundleEncoder, ptr), group_label);
|
||||
}
|
||||
}).pushDebugGroup,
|
||||
// .beginOcclusionQuery = (struct {
|
||||
// pub fn beginOcclusionQuery(ptr: *anyopaque, query_index: u32) void {
|
||||
// c.wgpuRenderBundleEncoderBeginOcclusionQuery(@ptrCast(c.WGPURenderBundleEncoder, ptr), query_index);
|
||||
|
|
@ -1217,11 +1222,6 @@ const render_bundle_encoder_vtable = RenderBundleEncoder.VTable{
|
|||
// );
|
||||
// }
|
||||
// }).executeBundles,
|
||||
// .pushDebugGroup = (struct {
|
||||
// pub fn pushDebugGroup(ptr: *anyopaque, group_label: [*:0]const u8) void {
|
||||
// c.wgpuRenderBundleEncoderPushDebugGroup(@ptrCast(c.WGPURenderBundleEncoder, ptr), group_label);
|
||||
// }
|
||||
// }).pushDebugGroup,
|
||||
// .setBindGroup = (struct {
|
||||
// pub fn setBindGroup(
|
||||
// ptr: *anyopaque,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue