mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
softjit: Fix locked stencil reg.
This commit is contained in:
parent
0ef1df79b9
commit
bfe82e417d
1 changed files with 1 additions and 0 deletions
|
@ -608,6 +608,7 @@ bool PixelJitCache::Jit_StencilAndDepthTest(const PixelFuncID &id) {
|
||||||
success = success && Jit_ApplyStencilOp(id, id.ZPass(), stencilReg);
|
success = success && Jit_ApplyStencilOp(id, id.ZPass(), stencilReg);
|
||||||
|
|
||||||
// At this point, stencilReg can't be spilled. It contains the updated value.
|
// At this point, stencilReg can't be spilled. It contains the updated value.
|
||||||
|
regCache_.Unlock(stencilReg, RegCache::GEN_STENCIL);
|
||||||
regCache_.ForceRetain(RegCache::GEN_STENCIL);
|
regCache_.ForceRetain(RegCache::GEN_STENCIL);
|
||||||
|
|
||||||
return success;
|
return success;
|
||||||
|
|
Loading…
Add table
Reference in a new issue