gpu: implement Dawn samplerRelease

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:27:01 -07:00 committed by Stephen Gutekanst
parent c40a5ea50d
commit 3c77135618

View file

@ -1049,8 +1049,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn samplerRelease(sampler: *gpu.Sampler) void {
_ = sampler;
unreachable;
procs.samplerRelease.?(@ptrCast(c.WGPUSampler, sampler));
}
pub inline fn shaderModuleGetCompilationInfo(shader_module: *gpu.ShaderModule, callback: gpu.CompilationInfoCallback, userdata: *anyopaque) void {