From e79e0e21adbed0ac9018276277bd2bd8a9bf14c6 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Thu, 14 Sep 2023 23:13:15 -0700 Subject: [PATCH] arm64jit: Skip unnecessary const load w/4 weights. --- GPU/Common/VertexDecoderArm64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/Common/VertexDecoderArm64.cpp b/GPU/Common/VertexDecoderArm64.cpp index 719dfa329d..8301963239 100644 --- a/GPU/Common/VertexDecoderArm64.cpp +++ b/GPU/Common/VertexDecoderArm64.cpp @@ -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++) {