From 562ad0d7c2ca7973424a68cd8abf29b2a43b97e2 Mon Sep 17 00:00:00 2001 From: pudi Date: Sun, 16 Apr 2023 00:13:31 +0600 Subject: [PATCH] Fix documentation comments for `multi_draw_*_indirect_count` (#3694) --- wgpu/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index b783e0f0dc..324c0ee32d 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -3293,7 +3293,7 @@ impl<'a> RenderPass<'a> { /// Dispatches multiple draw calls from the active vertex buffer(s) based on the contents of the `indirect_buffer`. /// The count buffer is read to determine how many draws to issue. /// - /// The indirect buffer must be long enough to account for `max_count` draws, however only `count` will + /// The indirect buffer must be long enough to account for `max_count` draws, however only `count` /// draws will be read. If `count` is greater than `max_count`, `max_count` will be used. /// /// The active vertex buffers can be set with [`RenderPass::set_vertex_buffer`]. @@ -3335,7 +3335,7 @@ impl<'a> RenderPass<'a> { /// Dispatches multiple draw calls from the active index buffer and the active vertex buffers, /// based on the contents of the `indirect_buffer`. The count buffer is read to determine how many draws to issue. /// - /// The indirect buffer must be long enough to account for `max_count` draws, however only `count` will + /// The indirect buffer must be long enough to account for `max_count` draws, however only `count` /// draws will be read. If `count` is greater than `max_count`, `max_count` will be used. /// /// The active index buffer can be set with [`RenderPass::set_index_buffer`], while the active