Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit 0eaec39

Browse files
authored
Fix fmt
1 parent 083ae39 commit 0eaec39

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/back/hlsl/storage.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,12 @@ impl<W: fmt::Write> super::Writer<'_, W> {
402402
stride: width as u32,
403403
},
404404
crate::TypeInner::Matrix { columns, width, .. } => Parent::Array {
405-
stride: width as u32 * if columns > crate::VectorSize::Bi { 4 } else { 2 },
405+
stride: width as u32
406+
+ * if columns > crate::VectorSize::Bi {
407+
+ 4
408+
+ } else {
409+
+ 2
410+
+ },
406411
},
407412
_ => unreachable!(),
408413
},

0 commit comments

Comments
 (0)