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