gpu: implement Dawn externalTextureSetLabel

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

View file

@ -596,9 +596,7 @@ pub const Interface = gpu.Interface(struct {
}
pub inline fn externalTextureSetLabel(external_texture: *gpu.ExternalTexture, label: [*:0]const u8) void {
_ = external_texture;
_ = label;
unreachable;
procs.externalTextureSetLabel.?(@ptrCast(c.WGPUExternalTexture, external_texture), label);
}
pub inline fn externalTextureReference(external_texture: *gpu.ExternalTexture) void {