gpu: implement Dawn commandBufferReference
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
6c7a0cfdf9
commit
7e46216994
1 changed files with 1 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue