gpu: implement Dawn textureReference

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:28:48 -07:00 committed by Stephen Gutekanst
parent 494aa9b35a
commit 400634f5ff

View file

@ -1166,8 +1166,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn textureReference(texture: *gpu.Texture) void {
_ = texture;
unreachable;
procs.textureReference.?(@ptrCast(c.WGPUTexture, texture));
}
pub inline fn textureRelease(texture: *gpu.Texture) void {