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