We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3be7ad0 commit 86112ffCopy full SHA for 86112ff
src/ImageSharp/Processing/Processors/Transforms/Resize/ResizeKernel.cs
@@ -72,7 +72,7 @@ public Vector4 Convolve(Span<Vector4> rowSpan)
72
public Vector4 ConvolveCore(ref Vector4 rowStartRef)
73
{
74
#if SUPPORTS_RUNTIME_INTRINSICS
75
- if (Fma.IsSupported)
+ if (Avx2.IsSupported && Fma.IsSupported)
76
77
float* bufferStart = this.bufferPtr;
78
float* bufferEnd = bufferStart + (this.Length & ~3);
0 commit comments