[hal doc] Note wgpu_hal::Queue::submit's expectations for Fence.

This commit is contained in:
Jim Blandy committed 2024-07-17 16:11:04 -07:00
1 parent 69a1134e02
commit a47ed5dc1e
1 file changed
+3
+3
View File
@@ -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