gpu: add QuerySet.setLabel
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
e128d38e86
commit
48907f4404
2 changed files with 10 additions and 1 deletions
|
|
@ -671,6 +671,11 @@ const query_set_vtable = QuerySet.VTable{
|
|||
c.wgpuQuerySetRelease(@ptrCast(c.WGPUQuerySet, ptr));
|
||||
}
|
||||
}).release,
|
||||
.setLabel = (struct {
|
||||
pub fn setLabel(ptr: *anyopaque, label: [:0]const u8) void {
|
||||
c.wgpuQuerySetSetLabel(@ptrCast(c.WGPUQuerySet, ptr), label);
|
||||
}
|
||||
}).setLabel,
|
||||
};
|
||||
|
||||
fn wrapPipelineLayout(layout: c.WGPUPipelineLayout) PipelineLayout {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue