]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix multiply for skeleton objects
authoreihrul <eihrul@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 11 Feb 2012 17:43:20 +0000 (17:43 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Fri, 9 Mar 2012 19:00:14 +0000 (20:00 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11680 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=4c835bb616ed0655c5b21886819b04ba6cb8d6e2

mod_skeletal_animatevertices_sse.c

index 7a25a6ca7c8d2cdb3e7388d490c7dbbe7bb9b698..7eb21a1326b2849f2d49a8859020f0f5e3d4ccb4 100644 (file)
@@ -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);