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