mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 16:24:24 +00:00
[hal doc] Note wgpu_hal::Queue::submit
's expectations for Fence
.
This commit is contained in:
parent
69a1134e02
commit
a47ed5dc1e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user