-Screwed around with SSE2.
-Added ReleaseSSE2 as a build target. -LL_VECTORIZE is silly and breaks things... -Small little tweaks. I have not tested if the cmake alterations work under linux and darwin. Hollar if broken.
This commit is contained in:
@@ -865,12 +865,18 @@ void LLViewerJointMesh::updateVectorize()
|
||||
{
|
||||
case 2:
|
||||
sUpdateGeometryFunc = &updateGeometrySSE2;
|
||||
if(!supportsSSE2())
|
||||
LL_INFOS("AppInit") << "VectorizeProcessor set to unsupported implementation! (SSE2)" << LL_ENDL ;
|
||||
break;
|
||||
case 1:
|
||||
sUpdateGeometryFunc = &updateGeometrySSE;
|
||||
if(!supportsSSE())
|
||||
LL_INFOS("AppInit") << "VectorizeProcessor set to unsupported implementation! (SSE)" << LL_ENDL ;
|
||||
break;
|
||||
default:
|
||||
sUpdateGeometryFunc = &updateGeometryVectorized;
|
||||
if(!gSysCPU.hasAltivec())
|
||||
LL_INFOS("AppInit") << "VectorizeProcessor set to unsupported implementation! (Altivec)" << LL_ENDL ;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user