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