Skip to content

Commit ec3e7b8

Browse files
committed
fixup
1 parent 6fd5b43 commit ec3e7b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/FastNoise/Generators/Utils.inl

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ namespace FastNoise
233233
valueX = FS::FMulAdd( multiplier, FS::NativeExec<float32v>( FS_BIND_INTRINSIC( _mm512_permutexvar_ps ), indexOuterVector, FS::Constant<float>( kRoot3f, -kRoot3f, 1, -1, kRoot3f, -kRoot3f, -1, 1, 2, -2, 0, 0, 0, 0, 0, 0 ) ), valueX );
234234
valueY = FS::FMulAdd( multiplier, FS::NativeExec<float32v>( FS_BIND_INTRINSIC( _mm512_permutexvar_ps ), indexOuterVector, FS::Constant<float>( 1, -1, kRoot3f, -kRoot3f, -1, 1, kRoot3f, -kRoot3f, 0, 0, 2, -2, 0, 0, 0, 0 ) ), valueY );
235235
}
236-
else if constexpr( SIMD & FastSIMD::FeatureFlag::AVX2 )
236+
else if constexpr( SIMD & FastSIMD::FeatureFlag::AVX )
237237
{
238238
float32v finalSign = FS::Cast<float>( ( ( indexGradient >> 28 ) ^ indexOuterVector ) << 31 );
239239
indexGradient >>= 29;

0 commit comments

Comments
 (0)