Fixed SSE4.1 check

This commit is contained in:
Christophe Riccio 2018-08-18 21:14:48 +02:00
parent 683a0f6119
commit 7f2d0f2cf4

View File

@ -308,6 +308,7 @@ namespace detail
}
};
# if GLM_ARCH & GLM_ARCH_SSE41_BIT
template<qualifier Q>
struct compute_vec4_equal<int, Q, true, 32, true>
{
@ -318,6 +319,7 @@ namespace detail
return _mm_test_all_zeros(neq, neq) == 0;
}
};
# endif
template<qualifier Q>
struct compute_vec4_nequal<float, Q, false, 32, true>
@ -328,6 +330,7 @@ namespace detail
}
};
# if GLM_ARCH & GLM_ARCH_SSE41_BIT
template<qualifier Q>
struct compute_vec4_nequal<int, Q, true, 32, true>
{
@ -338,6 +341,7 @@ namespace detail
return _mm_test_all_zeros(neq, neq) != 0;
}
};
# endif
}//namespace detail
template<>