gpu: fix docstrings

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-07-27 00:31:39 -07:00 committed by Stephen Gutekanst
parent 1b146cffd3
commit 0c5e3b5dac
2 changed files with 6 additions and 6 deletions

View file

@ -21,8 +21,8 @@ pub const CommandEncoder = *opaque {
return Impl.commandEncoderBeginRenderPass(command_encoder, descriptor);
}
// Default `offset`: 0
// Default `size`: `gpu.whole_size`
/// Default `offset`: 0
/// Default `size`: `gpu.whole_size`
pub inline fn clearBuffer(command_encoder: CommandEncoder, buffer: Buffer, offset: u64, size: u64) void {
Impl.commandEncoderClearBuffer(command_encoder, buffer, offset, size);
}