GSdx: more alpha test magic

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1076 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gabest11 2009-04-27 21:19:50 +00:00
parent 752db6056f
commit 270c8ee3d2
2 changed files with 2 additions and 2 deletions

View File

@ -458,7 +458,7 @@ PS_OUTPUT ps_main(PS_INPUT input)
}
else if(ATST == 4) // e
{
clip(0.5f / 256 - abs(c.a - AREF));
clip(0.6f / 255 - abs(c.a - AREF)); // FIXME: 0.5f is too small
}
else if(ATST == 5 || ATST == 6) // ge, g
{

View File

@ -285,7 +285,7 @@ float4 ps_main(PS_INPUT input) : COLOR
}
else if(ATST == 4) // e
{
clip(0.5f / 256 - abs(c.a - AREF));
clip(0.6f / 256 - abs(c.a - AREF)); // FIXME: 0.5f is too small
}
else if(ATST == 5 || ATST == 6) // ge, g
{