mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
softjit: Fix locked stencil reg.
This commit is contained in:
parent
0ef1df79b9
commit
bfe82e417d
@ -608,6 +608,7 @@ bool PixelJitCache::Jit_StencilAndDepthTest(const PixelFuncID &id) {
|
||||
success = success && Jit_ApplyStencilOp(id, id.ZPass(), stencilReg);
|
||||
|
||||
// At this point, stencilReg can't be spilled. It contains the updated value.
|
||||
regCache_.Unlock(stencilReg, RegCache::GEN_STENCIL);
|
||||
regCache_.ForceRetain(RegCache::GEN_STENCIL);
|
||||
|
||||
return success;
|
||||
|
Loading…
Reference in New Issue
Block a user