Merge pull request #18278 from unknownbrackets/arm64-vertexjit

arm64jit: Skip unnecessary const load w/4 weights
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2023-10-01 07:23:16 +02:00
commit 86f3c1ca9e
1 file changed
+1 -1
+1 -1
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++) {