Skip to content

Commit

Permalink
Merge pull request #18278 from unknownbrackets/arm64-vertexjit
Browse files Browse the repository at this point in the history
arm64jit: Skip unnecessary const load w/4 weights
  • Loading branch information
hrydgard committed Oct 1, 2023
2 parents 4bde384 + e79e0e2 commit 86f3c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GPU/Common/VertexDecoderArm64.cpp
Expand Up @@ -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++) {
Expand Down

0 comments on commit 86f3c1c

Please sign in to comment.