gpu: implement Dawn samplerReference

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:26:51 -07:00 committed by Stephen Gutekanst
parent 5c1f71834d
commit c40a5ea50d

View file

@ -1045,8 +1045,7 @@ pub const Interface = gpu.Interface(struct {
} }
pub inline fn samplerReference(sampler: *gpu.Sampler) void { pub inline fn samplerReference(sampler: *gpu.Sampler) void {
_ = sampler; procs.samplerReference.?(@ptrCast(c.WGPUSampler, sampler));
unreachable;
} }
pub inline fn samplerRelease(sampler: *gpu.Sampler) void { pub inline fn samplerRelease(sampler: *gpu.Sampler) void {