From: eihrul Date: Sun, 20 Mar 2011 21:17:01 +0000 (+0000) Subject: swap out some _mm_stream_ps usage X-Git-Tag: xonotic-v0.6.0~163^2~594 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5a5efde97975c74cd6bcd112202d8494c5324e04;p=xonotic%2Fdarkplaces.git swap out some _mm_stream_ps usage git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10952 d7cf8633-e32d-0410-b094-e92efae38249 --- 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);