gpu: implement Dawn bindGroupLayoutReference

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:15:58 -07:00 committed by Stephen Gutekanst
parent 06634d9dd7
commit ff5791c4cc

View file

@ -100,8 +100,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn bindGroupLayoutReference(bind_group_layout: *gpu.BindGroupLayout) void {
_ = bind_group_layout;
unreachable;
procs.bindGroupLayoutReference.?(@ptrCast(c.WGPUBindGroupLayout, bind_group_layout));
}
pub inline fn bindGroupLayoutRelease(bind_group_layout: *gpu.BindGroupLayout) void {