mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-03 13:01:12 +01:00
GSdx: minor fixes, ar tonelico 2 shadows in sw mode, lamune palette problems in hw mode
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1384 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
378489fa1e
commit
af0b33c7b5
4 files changed
+11
-10
No files matched your search
@@ -707,18 +707,17 @@ void GSDrawScanlineCodeGenerator::TestZ(const Xmm& temp1, const Xmm& temp2)
|
||||
switch(m_sel.ztst)
|
||||
{
|
||||
case ZTST_GEQUAL:
|
||||
// test |= zso < zdo;
|
||||
// test |= zso < zdo; // ~(zso >= zdo)
|
||||
pcmpgtd(xmm1, xmm0);
|
||||
por(xmm7, xmm1);
|
||||
break;
|
||||
|
||||
case ZTST_GREATER:
|
||||
// test |= zso <= zdo;
|
||||
movdqa(xmm4, xmm1);
|
||||
pcmpgtd(xmm1, xmm0);
|
||||
por(xmm7, xmm1);
|
||||
pcmpeqd(xmm4, xmm0);
|
||||
por(xmm7, xmm1);
|
||||
case ZTST_GREATER: // TODO: tidus hair and chocobo wings only appear fully when this is tested as ZTST_GEQUAL
|
||||
// test |= zso <= zdo; // ~(zso > zdo)
|
||||
pcmpgtd(xmm0, xmm1);
|
||||
pcmpeqd(xmm4, xmm4);
|
||||
pxor(xmm0, xmm4);
|
||||
por(xmm7, xmm0);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user