mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-16 03:00:36 +01:00
GSdx: 3.4.9. Texture Function => Decal/TCC=RGB: Av = At (gs_user v3 and v5) or Av = Af (v6)? Seems it was Af... Sonic unleashed was one of the games relying on this setting, could not find any other yet. Also removed the green stripes, shadow sw-mode only.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1145 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
1 parent
6dfe946e7f
commit
c64691811a
12 files changed
+77
-23
No files matched your search
@@ -35,6 +35,11 @@ GSDrawScanlineCodeGenerator::GSDrawScanlineCodeGenerator(GSScanlineEnvironment&
|
||||
|
||||
m_sel.key = key;
|
||||
|
||||
if(m_sel.tfx == TFX_DECAL && m_sel.tcc == 0)
|
||||
{
|
||||
printf("*** TFX_DECAL && !TCC *** \n");
|
||||
}
|
||||
|
||||
Generate();
|
||||
}
|
||||
|
||||
@@ -449,7 +454,7 @@ void GSDrawScanlineCodeGenerator::Init(int params)
|
||||
}
|
||||
}
|
||||
|
||||
if(m_sel.tfx != TFX_DECAL)
|
||||
if(!(m_sel.tfx == TFX_DECAL && m_sel.tcc))
|
||||
{
|
||||
if(m_sel.iip)
|
||||
{
|
||||
@@ -582,7 +587,7 @@ void GSDrawScanlineCodeGenerator::Step()
|
||||
}
|
||||
}
|
||||
|
||||
if(m_sel.tfx != TFX_DECAL)
|
||||
if(!(m_sel.tfx == TFX_DECAL && m_sel.tcc))
|
||||
{
|
||||
if(m_sel.iip)
|
||||
{
|
||||
@@ -1202,6 +1207,19 @@ void GSDrawScanlineCodeGenerator::AlphaTFX()
|
||||
|
||||
case TFX_DECAL:
|
||||
|
||||
// if(!tcc) gat = gat.mix16(ga.srl16(7));
|
||||
|
||||
if(!m_sel.tcc)
|
||||
{
|
||||
// GSVector4i ga = iip ? gaf : m_env.c.ga;
|
||||
|
||||
movdqa(xmm4, xmmword[m_sel.iip ? &m_env.temp.ga : &m_env.c.ga]);
|
||||
|
||||
psrlw(xmm4, 7);
|
||||
|
||||
mix16(xmm6, xmm4, xmm3);
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case TFX_HIGHLIGHT:
|
||||
|
||||
Reference in new issue
Block a user