Skip to content

Commit 4c47a78

Browse files
Fix missed normalization
1 parent b250ac3 commit 4c47a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ImageSharp/Common/Helpers/SimdUtils.HwIntrinsics.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ private static void Shuffle4Slice3(
548548
if (Vector128.IsHardwareAccelerated && Vector128Utilities.SupportsShuffleByte && Vector128Utilities.SupportsShiftByte)
549549
{
550550
Vector128<byte> maskSlice4Nx16 = ShuffleMaskSlice4Nx16();
551-
Vector128<byte> maskE = Ssse3.AlignRight(maskSlice4Nx16, maskSlice4Nx16, 12);
551+
Vector128<byte> maskE = Vector128Utilities.AlignRight(maskSlice4Nx16, maskSlice4Nx16, 12);
552552

553553
Span<byte> temp = stackalloc byte[Vector128<byte>.Count];
554554
Shuffle.MMShuffleSpan(ref temp, control);

0 commit comments

Comments
 (0)