arm64jit: Skip unnecessary const load w/4 weights.

This commit is contained in:
Unknown W. Brackets 2023-09-14 23:13:15 -07:00
parent aedd51f2f6
commit e79e0e21ad

View file

@ -315,7 +315,7 @@ bool VertexDecoderJitCache::CompileStep(const VertexDecoder &dec, int step) {
void VertexDecoderJitCache::Jit_ApplyWeights() {
// We construct a matrix in Q4-Q7
if (dec_->nweights >= 4) {
if (dec_->nweights > 4) {
MOVP2R(scratchReg64, bones + 16 * 4);
}
for (int i = 0; i < dec_->nweights; i++) {