gpu: implement Dawn bufferRelease

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

View file

@ -164,8 +164,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn bufferRelease(buffer: *gpu.Buffer) void {
_ = buffer;
unreachable;
procs.bufferRelease.?(@ptrCast(c.WGPUBuffer, buffer));
}
pub inline fn commandBufferSetLabel(command_buffer: *gpu.CommandBuffer, label: [*:0]const u8) void {