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