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