gpu: implement Dawn shaderModuleRelease

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:27:31 -07:00 committed by Stephen Gutekanst
parent 53db9abe9f
commit 196fbcb338

View file

@ -1070,8 +1070,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn shaderModuleRelease(shader_module: *gpu.ShaderModule) void {
_ = shader_module;
unreachable;
procs.shaderModuleRelease.?(@ptrCast(c.WGPUShaderModule, shader_module));
}
pub inline fn surfaceReference(surface: *gpu.Surface) void {