gpu: implement Dawn commandEncoderReference

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:18:41 -07:00 committed by Stephen Gutekanst
parent 330e001179
commit c5a7e31786

View file

@ -305,8 +305,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn commandEncoderReference(command_encoder: *gpu.CommandEncoder) void {
_ = command_encoder;
unreachable;
procs.commandEncoderReference.?(@ptrCast(c.WGPUCommandEncoder, command_encoder));
}
pub inline fn commandEncoderRelease(command_encoder: *gpu.CommandEncoder) void {