From a981938bcba03e921711a470ff68b6a089f1ee27 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sat, 30 Jul 2022 15:29:58 -0700 Subject: [PATCH] gpu: implement Dawn textureViewSetLabel Signed-off-by: Stephen Gutekanst --- gpu/src/dawn_impl.zig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gpu/src/dawn_impl.zig b/gpu/src/dawn_impl.zig index af8a95c7..046c5d73 100644 --- a/gpu/src/dawn_impl.zig +++ b/gpu/src/dawn_impl.zig @@ -1174,9 +1174,7 @@ pub const Interface = gpu.Interface(struct { } pub inline fn textureViewSetLabel(texture_view: *gpu.TextureView, label: [*:0]const u8) void { - _ = texture_view; - _ = label; - unreachable; + procs.textureViewSetLabel.?(@ptrCast(c.WGPUTextureView, texture_view), label); } pub inline fn textureViewReference(texture_view: *gpu.TextureView) void {