mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-22 23:41:01 +01:00
Reformat comments in wgpu-core. (#3102)
This commit is contained in:
1 parent
fa4d8401e8
commit
215884184b
22 files changed
+525
-289
No files matched your search
@@ -12,7 +12,8 @@ pub(crate) struct BufferInitTrackerAction {
|
||||
pub(crate) type BufferInitTracker = InitTracker<wgt::BufferAddress>;
|
||||
|
||||
impl BufferInitTracker {
|
||||
/// Checks if an action has/requires any effect on the initialization status and shrinks its range if possible.
|
||||
/// Checks if an action has/requires any effect on the initialization status
|
||||
/// and shrinks its range if possible.
|
||||
pub(crate) fn check_action(
|
||||
&self,
|
||||
action: &BufferInitTrackerAction,
|
||||
@@ -20,7 +21,8 @@ impl BufferInitTracker {
|
||||
self.create_action(action.id, action.range.clone(), action.kind)
|
||||
}
|
||||
|
||||
/// Creates an action if it would have any effect on the initialization status and shrinks the range if possible.
|
||||
/// Creates an action if it would have any effect on the initialization
|
||||
/// status and shrinks the range if possible.
|
||||
pub(crate) fn create_action(
|
||||
&self,
|
||||
id: BufferId,
|
||||
|
||||
Reference in new issue
Block a user