gpu: implement Dawn samplerSetLabel

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:35:49 -07:00 committed by Stephen Gutekanst
parent bb62ec7621
commit cf1a022b98

View file

@ -1007,9 +1007,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn samplerSetLabel(sampler: *gpu.Sampler, label: [*:0]const u8) void {
_ = sampler;
_ = label;
unreachable;
procs.samplerSetLabel.?(@ptrCast(c.WGPUSampler, sampler), label);
}
pub inline fn samplerReference(sampler: *gpu.Sampler) void {