gpu: implement Dawn textureViewReference
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
73c86ddb4a
commit
b4dc78bffd
1 changed files with 1 additions and 2 deletions
|
|
@ -1180,8 +1180,7 @@ pub const Interface = gpu.Interface(struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn textureViewReference(texture_view: *gpu.TextureView) void {
|
pub inline fn textureViewReference(texture_view: *gpu.TextureView) void {
|
||||||
_ = texture_view;
|
procs.textureViewReference.?(@ptrCast(c.WGPUTextureView, texture_view));
|
||||||
unreachable;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn textureViewRelease(texture_view: *gpu.TextureView) void {
|
pub inline fn textureViewRelease(texture_view: *gpu.TextureView) void {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue