Skip to content

Commit

Permalink
[hal doc] Note wgpu_hal::Queue::submit's expectations for Fence.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimblandy committed Jul 17, 2024
1 parent 69a1134 commit a47ed5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wgpu-hal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,9 @@ pub trait Queue: WasmNotSendSync {
/// - All calls to this function that include a given [`SurfaceTexture`][st]
/// in `surface_textures` must use the same [`Fence`].
///
/// - The [`Fence`] passed as `signal_fence.0` must remain alive until
/// all submissions that will signal it have completed.
///
/// [`Fence`]: Api::Fence
/// [cb]: Api::CommandBuffer
/// [ce]: Api::CommandEncoder
Expand Down

0 comments on commit a47ed5d

Please sign in to comment.