Browse Source
Update src/ImageSharp/Formats/Gif/GifEncoderCore.cs
pull/2500/head
James Jackson-South
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/ImageSharp/Formats/Gif/GifEncoderCore.cs
|
|
|
@ -364,7 +364,7 @@ internal sealed class GifEncoderCore : IImageEncoderInternals |
|
|
|
|
|
|
|
uint x = 0; |
|
|
|
int remaining = background.Length; |
|
|
|
if (Axv2.IsSupported && remaining >= 2) |
|
|
|
if (Avx2.IsSupported && remaining >= 2) |
|
|
|
{ |
|
|
|
Vector256<float> replacement256 = Vector256.Create(replacement.X, replacement.Y, replacement.Z, replacement.W, replacement.X, replacement.Y, replacement.Z, replacement.W); |
|
|
|
|
|
|
|
|