From 5406cfc7fef00fe013c819e7afae4bebbb8d0481 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Tue, 11 Jun 2024 10:13:48 -0500 Subject: [PATCH] nak/copy_prop: Rewrap a couple comments Part-of: --- src/nouveau/compiler/nak/opt_copy_prop.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/nouveau/compiler/nak/opt_copy_prop.rs b/src/nouveau/compiler/nak/opt_copy_prop.rs index a4aa732acce..810e72e119b 100644 --- a/src/nouveau/compiler/nak/opt_copy_prop.rs +++ b/src/nouveau/compiler/nak/opt_copy_prop.rs @@ -208,8 +208,8 @@ impl CopyPropPass { src.src_mod = entry.src.src_mod.modify(src.src_mod); } CopyPropEntry::Prmt(entry) => { - // Turn the swizzle into a permute. For F16, we use Xx to indicate - // that it only takes the bottom 16 bits. + // Turn the swizzle into a permute. For F16, we use Xx to + // indicate that it only takes the bottom 16 bits. let swizzle_prmt: [u8; 4] = match src_type { SrcType::F16 => [0, 1, 0, 1], SrcType::F16v2 => match src.src_swizzle { @@ -234,8 +234,8 @@ impl CopyPropPass { let target_src_idx = val / 4; - // Ensure we are using the same source, we cannot combine - // multiple sources. + // Ensure we are using the same source, we cannot + // combine multiple sources. if entry_src_idx.is_none() { entry_src_idx = Some(target_src_idx); } else if entry_src_idx != Some(target_src_idx) {