gpu: implement Dawn commandBufferRelease
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
7e46216994
commit
330e001179
1 changed files with 1 additions and 2 deletions
|
|
@ -178,8 +178,7 @@ pub const Interface = gpu.Interface(struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn commandBufferRelease(command_buffer: *gpu.CommandBuffer) void {
|
pub inline fn commandBufferRelease(command_buffer: *gpu.CommandBuffer) void {
|
||||||
_ = command_buffer;
|
procs.commandBufferRelease.?(@ptrCast(c.WGPUCommandBuffer, command_buffer));
|
||||||
unreachable;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn commandEncoderBeginComputePass(command_encoder: *gpu.CommandEncoder, descriptor: ?*const gpu.ComputePassDescriptor) *gpu.ComputePassEncoder {
|
pub inline fn commandEncoderBeginComputePass(command_encoder: *gpu.CommandEncoder, descriptor: ?*const gpu.ComputePassDescriptor) *gpu.ComputePassEncoder {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue