gpu: implement Dawn textureRelease

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

View file

@ -1170,8 +1170,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn textureRelease(texture: *gpu.Texture) void {
_ = texture;
unreachable;
procs.textureRelease.?(@ptrCast(c.WGPUTexture, texture));
}
pub inline fn textureViewSetLabel(texture_view: *gpu.TextureView, label: [*:0]const u8) void {