gpu: implement Dawn shaderModuleRelease
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
53db9abe9f
commit
196fbcb338
1 changed files with 1 additions and 2 deletions
|
|
@ -1070,8 +1070,7 @@ pub const Interface = gpu.Interface(struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn shaderModuleRelease(shader_module: *gpu.ShaderModule) void {
|
pub inline fn shaderModuleRelease(shader_module: *gpu.ShaderModule) void {
|
||||||
_ = shader_module;
|
procs.shaderModuleRelease.?(@ptrCast(c.WGPUShaderModule, shader_module));
|
||||||
unreachable;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn surfaceReference(surface: *gpu.Surface) void {
|
pub inline fn surfaceReference(surface: *gpu.Surface) void {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue