gpu: implement Dawn bindGroupLayoutSetLabel

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:30:50 -07:00 committed by Stephen Gutekanst
parent 3ad8cd6152
commit ca914dd4d3

View file

@ -92,9 +92,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn bindGroupLayoutSetLabel(bind_group_layout: *gpu.BindGroupLayout, label: [*:0]const u8) void {
_ = bind_group_layout;
_ = label;
unreachable;
procs.bindGroupLayoutSetLabel.?(@ptrCast(c.WGPUBindGroupLayout, bind_group_layout), label);
}
pub inline fn bindGroupLayoutReference(bind_group_layout: *gpu.BindGroupLayout) void {