From 1bbf2dafb9f67b14507dc37e4ee885464c5ffc78 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Wed, 16 Aug 2017 03:28:11 +0200 Subject: [PATCH] Fixed SIMD build --- glm/detail/func_exponential_simd.inl | 2 +- glm/detail/func_matrix_simd.inl | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/glm/detail/func_exponential_simd.inl b/glm/detail/func_exponential_simd.inl index fdc5c0df..4b2ef455 100644 --- a/glm/detail/func_exponential_simd.inl +++ b/glm/detail/func_exponential_simd.inl @@ -13,7 +13,7 @@ namespace detail { GLM_FUNC_QUALIFIER static vec<4, float, Q> call(vec<4, float, Q> const& v) { - vec<4, float, P> Result; + vec<4, float, Q> Result; Result.data = _mm_sqrt_ps(v.data); return Result; } diff --git a/glm/detail/func_matrix_simd.inl b/glm/detail/func_matrix_simd.inl index f09c11fe..e76eafff 100644 --- a/glm/detail/func_matrix_simd.inl +++ b/glm/detail/func_matrix_simd.inl @@ -12,7 +12,7 @@ namespace glm{ namespace detail { template - struct compute_matrixCompMult + struct compute_matrixCompMult<4, 4, float, Q, true> { GLM_STATIC_ASSERT(detail::is_aligned

::value, "Specialization requires aligned"); @@ -28,7 +28,7 @@ namespace detail }; template - struct compute_transpose + struct compute_transpose<4, 4, float, Q, true> { GLM_FUNC_QUALIFIER static mat<4, 4, float, Q> call(mat<4, 4, float, Q> const& m) { @@ -41,7 +41,7 @@ namespace detail }; template - struct compute_determinant + struct compute_determinant<4, 4, float, Q, true> { GLM_FUNC_QUALIFIER static float call(mat<4, 4, float, Q> const& m) { @@ -50,7 +50,7 @@ namespace detail }; template - struct compute_inverse + struct compute_inverse<4, 4, float, Q, true> { GLM_FUNC_QUALIFIER static mat<4, 4, float, Q> call(mat<4, 4, float, Q> const& m) {