mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 10:13:43 +01:00
Regroup Stencil Testing
This commit is contained in:
1 parent
e5059d2c96
commit
40efc5fb4d
1 file changed
+8
-3
@@ -1285,10 +1285,9 @@ void GLES_GPU::ExecuteOpInternal(u32 op, u32 diff) {
|
||||
break;
|
||||
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// Z/STENCIL TESTING
|
||||
// DEPTH TESTING
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
case GE_CMD_STENCILTESTENABLE:
|
||||
case GE_CMD_ZTESTENABLE:
|
||||
case GE_CMD_ZTEST:
|
||||
case GE_CMD_ZWRITEDISABLE:
|
||||
@@ -1427,12 +1426,18 @@ void GLES_GPU::ExecuteOpInternal(u32 op, u32 diff) {
|
||||
break;
|
||||
#endif
|
||||
|
||||
// Handled in StateMapping.
|
||||
//////////////////////////////////////////////////////////////////
|
||||
// STENCIL TESTING
|
||||
//////////////////////////////////////////////////////////////////
|
||||
|
||||
case GE_CMD_STENCILTEST:
|
||||
// Handled in StateMapping.
|
||||
if (diff) {
|
||||
shaderManager_->DirtyUniform(DIRTY_STENCILREPLACEVALUE);
|
||||
}
|
||||
break;
|
||||
|
||||
case GE_CMD_STENCILTESTENABLE:
|
||||
case GE_CMD_STENCILOP:
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user