From 4c835bb616ed0655c5b21886819b04ba6cb8d6e2 Mon Sep 17 00:00:00 2001 From: eihrul Date: Sat, 11 Feb 2012 17:43:20 +0000 Subject: [PATCH] fix multiply for skeleton objects git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11680 d7cf8633-e32d-0410-b094-e92efae38249 --- mod_skeletal_animatevertices_sse.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.2