gpu: implement Dawn commandBufferReference

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:17:46 -07:00 committed by Stephen Gutekanst
parent 6c7a0cfdf9
commit 7e46216994

View file

@ -174,8 +174,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn commandBufferReference(command_buffer: *gpu.CommandBuffer) void {
_ = command_buffer;
unreachable;
procs.commandBufferReference.?(@ptrCast(c.WGPUCommandBuffer, command_buffer));
}
pub inline fn commandBufferRelease(command_buffer: *gpu.CommandBuffer) void {