mirror of
https://github.com/PSI-Rockin/DobieStation.git
synced 2024-05-20 13:08:11 -04:00
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:
commit
729ba18041
|
@ -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)¤t_ctx->zbuf.base_pointer, abi_args[0]);
|
||||
emitter_dp.load_addr((uint64_t)¤t_ctx->frame.width, abi_args[1]);
|
||||
|
|
Loading…
Reference in a new issue