mirror of
https://github.com/openharmony/third_party_astc-encoder.git
synced 2026-07-21 06:05:22 -04:00
Fix AVX2 lane() on Windows
This commit is contained in:
@@ -98,7 +98,7 @@ struct vfloat8
|
||||
template <int l> ASTCENC_SIMD_INLINE float lane() const
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
return m.m256_f32[i];
|
||||
return m.m256_f32[l];
|
||||
#else
|
||||
union { __m256 m; float f[8]; } cvt;
|
||||
cvt.m = m;
|
||||
|
||||
Reference in New Issue
Block a user