gpu: implement Dawn bufferRelease
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
2a715cab99
commit
6c7a0cfdf9
1 changed files with 1 additions and 2 deletions
|
|
@ -164,8 +164,7 @@ pub const Interface = gpu.Interface(struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn bufferRelease(buffer: *gpu.Buffer) void {
|
pub inline fn bufferRelease(buffer: *gpu.Buffer) void {
|
||||||
_ = buffer;
|
procs.bufferRelease.?(@ptrCast(c.WGPUBuffer, buffer));
|
||||||
unreachable;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn commandBufferSetLabel(command_buffer: *gpu.CommandBuffer, label: [*:0]const u8) void {
|
pub inline fn commandBufferSetLabel(command_buffer: *gpu.CommandBuffer, label: [*:0]const u8) void {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue