gpu: implement Dawn textureViewReference

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:29:17 -07:00 committed by Stephen Gutekanst
parent 73c86ddb4a
commit b4dc78bffd

View file

@ -1180,8 +1180,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn textureViewReference(texture_view: *gpu.TextureView) void {
_ = texture_view;
unreachable;
procs.textureViewReference.?(@ptrCast(c.WGPUTextureView, texture_view));
}
pub inline fn textureViewRelease(texture_view: *gpu.TextureView) void {