vertexjit: Skip soft skinning setup when morphing.

This makes x86 match arm.
This commit is contained in:
Unknown W. Brackets 2015-05-16 21:47:13 -07:00
parent 5d0d67140f
commit c6b55459b1

View File

@ -191,7 +191,7 @@ JittedVertexDecoder VertexDecoderJitCache::Compile(const VertexDecoder &dec) {
// Later we might want to do this when the matrices are loaded instead.
// This is mostly proof of concept.
int boneCount = 0;
if (dec.weighttype && g_Config.bSoftwareSkinning) {
if (dec.weighttype && g_Config.bSoftwareSkinning && dec.morphcount == 1) {
MOVAPS(XMM4, M(&threeMasks));
for (int i = 0; i < 8; i++) {
MOVUPS(XMM0, M((gstate.boneMatrix + 12 * i)));