gpu: implement Dawn externalTextureSetLabel
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
d39e353587
commit
dd634dfc57
1 changed files with 1 additions and 3 deletions
|
|
@ -596,9 +596,7 @@ pub const Interface = gpu.Interface(struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn externalTextureSetLabel(external_texture: *gpu.ExternalTexture, label: [*:0]const u8) void {
|
pub inline fn externalTextureSetLabel(external_texture: *gpu.ExternalTexture, label: [*:0]const u8) void {
|
||||||
_ = external_texture;
|
procs.externalTextureSetLabel.?(@ptrCast(c.WGPUExternalTexture, external_texture), label);
|
||||||
_ = label;
|
|
||||||
unreachable;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn externalTextureReference(external_texture: *gpu.ExternalTexture) void {
|
pub inline fn externalTextureReference(external_texture: *gpu.ExternalTexture) void {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue