mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
softgpu: Use ALWAYS for alpha/depth test in clear.
This commit is contained in:
parent
b3bd068051
commit
53c6a3933d
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,8 @@ void ComputePixelFuncID(PixelFuncID *id) {
|
|||
id->colorTest = gstate.isClearModeColorMask();
|
||||
id->stencilTest = gstate.isClearModeAlphaMask();
|
||||
id->depthWrite = gstate.isClearModeDepthMask();
|
||||
id->depthTestFunc = GE_COMP_ALWAYS;
|
||||
id->alphaTestFunc = GE_COMP_ALWAYS;
|
||||
} else {
|
||||
id->colorTest = gstate.isColorTestEnabled() && gstate.getColorTestFunction() != GE_COMP_ALWAYS;
|
||||
if (gstate.isStencilTestEnabled() && gstate.getStencilTestFunction() == GE_COMP_ALWAYS) {
|
||||
|
|
Loading…
Add table
Reference in a new issue