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