From f26b70fc7b0e4e2d9307ca7486f0e97455700827 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sat, 30 Jul 2022 15:30:15 -0700 Subject: [PATCH] gpu: implement Dawn textureSetLabel 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 046c5d73..1f84429b 100644 --- a/gpu/src/dawn_impl.zig +++ b/gpu/src/dawn_impl.zig @@ -1160,9 +1160,7 @@ pub const Interface = gpu.Interface(struct { } pub inline fn textureSetLabel(texture: *gpu.Texture, label: [*:0]const u8) void { - _ = texture; - _ = label; - unreachable; + procs.textureSetLabel.?(@ptrCast(c.WGPUTexture, texture), label); } pub inline fn textureReference(texture: *gpu.Texture) void {