Merge pull request #451 from refractionpcsx2/gs_skip_depth_always_noupdate

GS JIT: Don't recompile depth test/updates when set to ALWAYS + NO Up…
This commit is contained in:
PSISP 2020-08-07 17:26:37 -04:00 committed by GitHub
commit 729ba18041
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4551,6 +4551,9 @@ void GraphicsSynthesizerThread::recompile_depth_test()
return;
}
if (current_ctx->test.depth_method == 1 && current_ctx->zbuf.no_update)
return;
//Load address to zbuffer
emitter_dp.load_addr((uint64_t)&current_ctx->zbuf.base_pointer, abi_args[0]);
emitter_dp.load_addr((uint64_t)&current_ctx->frame.width, abi_args[1]);