gpu: implement Dawn bindGroupReference

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

View file

@ -86,8 +86,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn bindGroupReference(bind_group: *gpu.BindGroup) void {
_ = bind_group;
unreachable;
procs.bindGroupReference.?(@ptrCast(c.WGPUBindGroup, bind_group));
}
pub inline fn bindGroupRelease(bind_group: *gpu.BindGroup) void {