gpu: implement Dawn textureViewSetLabel

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

View file

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