mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 21:16:24 +02:00
softjit: Fix locked stencil reg.
This commit is contained in:
1 parent
0ef1df79b9
commit
bfe82e417d
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user