gpu: implement Dawn commandEncoderWriteTimestamp
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
427837f2fc
commit
e3d0bc5e23
1 changed files with 5 additions and 4 deletions
|
|
@ -300,10 +300,11 @@ pub const Interface = gpu.Interface(struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn commandEncoderWriteTimestamp(command_encoder: *gpu.CommandEncoder, query_set: *gpu.QuerySet, query_index: u32) void {
|
pub inline fn commandEncoderWriteTimestamp(command_encoder: *gpu.CommandEncoder, query_set: *gpu.QuerySet, query_index: u32) void {
|
||||||
_ = command_encoder;
|
procs.commandEncoderWriteTimestamp.?(
|
||||||
_ = query_set;
|
@ptrCast(c.WGPUCommandEncoder, command_encoder),
|
||||||
_ = query_index;
|
@ptrCast(c.WGPUQuerySet, query_set),
|
||||||
unreachable;
|
query_index,
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
pub inline fn commandEncoderReference(command_encoder: *gpu.CommandEncoder) void {
|
pub inline fn commandEncoderReference(command_encoder: *gpu.CommandEncoder) void {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue