Fixed mix for vec4 SSE implementation, issue #33

This commit is contained in:
Christophe Riccio 2013-01-23 02:18:43 +01:00
parent 37e380ca9b
commit 43a9e450fd

View File

@ -452,7 +452,7 @@ GLM_FUNC_QUALIFIER detail::fvec4SIMD mix
{
__m128 Sub0 = _mm_sub_ps(y.Data, x.Data);
__m128 Mul0 = _mm_mul_ps(a.Data, Sub0);
return _mm_mul_ps(x.Data, Mul0);
return _mm_add_ps(x.Data, Mul0);
}
GLM_FUNC_QUALIFIER detail::fvec4SIMD step