Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-04-02 18:08:24 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-04-02 18:09:01 +0300
commit967260593807c1e6f294c1ce8b5a220526f4597a (patch)
treedae66f42099ef0c37a80623106294f71255dff5c
parent5159ba6b333b27b247ffe0b950fa40c1dd7d2654 (diff)
Fix build error on Windows/Linux after recent AVX changes
-rw-r--r--intern/cycles/util/util_avxf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/util/util_avxf.h b/intern/cycles/util/util_avxf.h
index 6781290bb83..47d416afbb7 100644
--- a/intern/cycles/util/util_avxf.h
+++ b/intern/cycles/util/util_avxf.h
@@ -266,20 +266,20 @@ template<size_t i0> __forceinline const avxf shuffle(const avxf &a)
template<size_t i> __forceinline float extract(const avxf &a)
{
- return _mm256_cvtss_f32(shuffle<i, i, i, i>(a));
+ return _mm256_cvtss_f32(shuffle<i, i, i, i>(a).m256);
}
template<> __forceinline float extract<0>(const avxf &a)
{
- return _mm256_cvtss_f32(a);
+ return _mm256_cvtss_f32(a.m256);
}
__forceinline ssef low(const avxf &a)
{
- return _mm256_extractf128_ps(a, 0);
+ return _mm256_extractf128_ps(a.m256, 0);
}
__forceinline ssef high(const avxf &a)
{
- return _mm256_extractf128_ps(a, 1);
+ return _mm256_extractf128_ps(a.m256, 1);
}
template<int i0, int i1, int i2, int i3, int i4, int i5, int i6, int i7>