From beac6eedc461325f5fb4685fc8c505688780056a Mon Sep 17 00:00:00 2001 From: eihrul Date: Sun, 20 Mar 2011 21:17:01 +0000 Subject: [PATCH] swap out some _mm_stream_ps usage git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10952 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=5a5efde97975c74cd6bcd112202d8494c5324e04 --- dpsoftrast.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dpsoftrast.c b/dpsoftrast.c index 4f480f89..e8eb9570 100644 --- a/dpsoftrast.c +++ b/dpsoftrast.c @@ -4692,9 +4692,9 @@ static void DPSOFTRAST_Interpret_Draw(DPSOFTRAST_State_Thread *thread, DPSOFTRAS attribxslope = _mm_sub_ps(_mm_mul_ps(attribuxslope, attribedge1), _mm_mul_ps(attribvxslope, attribedge2)); attribyslope = _mm_sub_ps(_mm_mul_ps(attribvyslope, attribedge2), _mm_mul_ps(attribuyslope, attribedge1)); attriborigin = _mm_sub_ps(attriborigin, _mm_add_ps(_mm_mul_ps(attribxslope, x1), _mm_mul_ps(attribyslope, y1))); - _mm_stream_ps(triangle->attribs[k][0], attribxslope); - _mm_stream_ps(triangle->attribs[k][1], attribyslope); - _mm_stream_ps(triangle->attribs[k][2], attriborigin); + _mm_storeu_ps(triangle->attribs[k][0], attribxslope); + _mm_storeu_ps(triangle->attribs[k][1], attribyslope); + _mm_storeu_ps(triangle->attribs[k][2], attriborigin); if (k == DPSOFTRAST_ShaderModeTable[thread->shader_mode].lodarrayindex) { mipedgescale = _mm_movelh_ps(triangleedge1, triangleedge2); -- 2.39.2