From: eihrul Date: Sat, 11 Feb 2012 17:43:20 +0000 (+0000) Subject: fix multiply for skeleton objects X-Git-Tag: xonotic-v0.8.0~96^2~334 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4c835bb616ed0655c5b21886819b04ba6cb8d6e2;p=xonotic%2Fdarkplaces.git fix multiply for skeleton objects git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11680 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/mod_skeletal_animatevertices_sse.c b/mod_skeletal_animatevertices_sse.c index 7a25a6ca..7eb21a13 100644 --- a/mod_skeletal_animatevertices_sse.c +++ b/mod_skeletal_animatevertices_sse.c @@ -94,6 +94,7 @@ void Mod_Skeletal_AnimateVertices_SSE(const dp_model_t * RESTRICT model, const f r1 = _mm_add_ps(r1, _mm_mul_ps(b2, _mm_shuffle_ps(nr, nr, _MM_SHUFFLE(1, 1, 1, 1)))); r2 = _mm_add_ps(r2, _mm_mul_ps(b2, _mm_shuffle_ps(nr, nr, _MM_SHUFFLE(2, 2, 2, 2)))); r3 = _mm_add_ps(r3, _mm_mul_ps(b2, _mm_shuffle_ps(nr, nr, _MM_SHUFFLE(3, 3, 3, 3)))); + r3 = _mm_add_ps(r3, b3); _mm_store_ps(r->m[0], r0); _mm_store_ps(r->m[1], r1); _mm_store_ps(r->m[2], r2);