gpu: implement Dawn textureSetLabel

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-30 15:30:15 -07:00 committed by Stephen Gutekanst
parent a981938bcb
commit f26b70fc7b

View file

@ -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 {