mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
clippy: Fix doc_lazy_continuation lints (#5935)
These are in nightly builds.
This commit is contained in:
parent
b5c33fc1a4
commit
ee16de1c63
@ -1,10 +1,9 @@
|
||||
/*! Module analyzer.
|
||||
|
||||
Figures out the following properties:
|
||||
- control flow uniformity
|
||||
- texture/sampler pairs
|
||||
- expression reference counts
|
||||
!*/
|
||||
//! Module analyzer.
|
||||
//!
|
||||
//! Figures out the following properties:
|
||||
//! - control flow uniformity
|
||||
//! - texture/sampler pairs
|
||||
//! - expression reference counts
|
||||
|
||||
use super::{ExpressionError, FunctionError, ModuleInfo, ShaderStages, ValidationFlags};
|
||||
use crate::span::{AddSpan as _, WithSpan};
|
||||
|
||||
@ -665,6 +665,7 @@ unsafe fn insert_or_merge<A: HalApi>(
|
||||
/// - Uses the `start_state_provider` to populate `start_states`
|
||||
/// - Uses either `end_state_provider` or `start_state_provider`
|
||||
/// to populate `current_states`.
|
||||
///
|
||||
/// If the resource is tracked
|
||||
/// - Inserts barriers from the state in `current_states`
|
||||
/// to the state provided by `start_state_provider`.
|
||||
|
||||
@ -141,6 +141,7 @@ impl TrackerIndex {
|
||||
/// - IDs of dead handles can be recycled while resources are internally held alive (and tracked).
|
||||
/// - The plan is to remove IDs in the long run
|
||||
/// ([#5121](https://github.com/gfx-rs/wgpu/issues/5121)).
|
||||
///
|
||||
/// In order to produce these tracker indices, there is a shared TrackerIndexAllocator
|
||||
/// per resource type. Indices have the same lifetime as the internal resource they
|
||||
/// are associated to (alloc happens when creating the resource and free is called when
|
||||
|
||||
@ -1038,6 +1038,7 @@ unsafe fn insert_or_merge<A: HalApi>(
|
||||
/// - Uses the `start_state_provider` to populate `start_states`
|
||||
/// - Uses either `end_state_provider` or `start_state_provider`
|
||||
/// to populate `current_states`.
|
||||
///
|
||||
/// If the resource is tracked
|
||||
/// - Inserts barriers from the state in `current_states`
|
||||
/// to the state provided by `start_state_provider`.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user