Revert "Remove further remains of hardware skinning."

This reverts commit 40db61a680.
This commit is contained in:
Henrik Rydgård 2018-04-10 12:22:02 +02:00
parent 7de3edb46c
commit 36fd2711d6
43 changed files with 716 additions and 57 deletions

View file

@ -193,7 +193,7 @@ JittedVertexDecoder VertexDecoderJitCache::Compile(const VertexDecoder &dec, int
// Add code to convert matrices to 4x4.
// Later we might want to do this when the matrices are loaded instead.
int boneCount = 0;
if (dec.weighttype) {
if (dec.weighttype && g_Config.bSoftwareSkinning && dec.morphcount == 1) {
// Copying from R3 to R4
MOVP2R(X3, gstate.boneMatrix);
MOVP2R(X4, bones);