gsdx-hack: enable auto skip of depth texture for God of War

Rendering is quite complex to emulate on the GPU due to several limitation.
Until we find a solution let's enable the old solution

You could find a description of the rendering here:
http://forums.pcsx2.net/Thread-God-of-War-Red-line-rendering-explained
This commit is contained in:
Gregory Hainaut 2015-05-24 13:24:32 +02:00
parent a70c3bf5de
commit 951a1fed94
1 changed files with 12 additions and 0 deletions

View File

@ -3543,6 +3543,12 @@ bool GSC_GodOfWar(const GSFrameInfo& fi, int& skip)
{
skip = 1; // wall of fog
}
else if (fi.TME && (fi.TPSM == PSM_PSMZ32 || fi.TPSM == PSM_PSMZ24 || fi.TPSM == PSM_PSMZ16 || fi.TPSM == PSM_PSMZ16S))
{
// Equivalent to the UserHacks_AutoSkipDrawDepth hack but enabled by default
// http://forums.pcsx2.net/Thread-God-of-War-Red-line-rendering-explained
skip = 1;
}
}
else
{
@ -3580,6 +3586,12 @@ bool GSC_GodOfWar2(const GSFrameInfo& fi, int& skip)
{
skip = 1; // water effect and water vertical lines
}
else if (fi.TME && (fi.TPSM == PSM_PSMZ32 || fi.TPSM == PSM_PSMZ24 || fi.TPSM == PSM_PSMZ16 || fi.TPSM == PSM_PSMZ16S))
{
// Equivalent to the UserHacks_AutoSkipDrawDepth hack but enabled by default
// http://forums.pcsx2.net/Thread-God-of-War-Red-line-rendering-explained
skip = 1;
}
}
}
else