mirror of https://github.com/PCSX2/pcsx2.git
gsdx-d3d11: Remove old aout code.
Will be replaced with fbmask code in next commits.
This commit is contained in:
parent
060689d3e9
commit
9d60d6acfd
|
@ -27,12 +27,10 @@ GSRendererDX11::GSRendererDX11()
|
||||||
{
|
{
|
||||||
if (theApp.GetConfigB("UserHacks"))
|
if (theApp.GetConfigB("UserHacks"))
|
||||||
{
|
{
|
||||||
UserHacks_AlphaHack = theApp.GetConfigB("UserHacks_AlphaHack");
|
|
||||||
UserHacks_AlphaStencil = theApp.GetConfigB("UserHacks_AlphaStencil");
|
UserHacks_AlphaStencil = theApp.GetConfigB("UserHacks_AlphaStencil");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
UserHacks_AlphaHack = false;
|
|
||||||
UserHacks_AlphaStencil = false;
|
UserHacks_AlphaStencil = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -830,17 +828,6 @@ void GSRendererDX11::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sou
|
||||||
m_ps_sel.clr1 = m_om_bsel.IsCLR1();
|
m_ps_sel.clr1 = m_om_bsel.IsCLR1();
|
||||||
m_ps_sel.fba = m_context->FBA.FBA;
|
m_ps_sel.fba = m_context->FBA.FBA;
|
||||||
|
|
||||||
// FIXME: Purge aout with AlphaHack when FbMask emulation is added.
|
|
||||||
if (m_ps_sel.shuffle)
|
|
||||||
{
|
|
||||||
m_ps_sel.aout = 0;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
m_ps_sel.aout = UserHacks_AlphaHack || (m_context->FRAME.FBMSK & 0xff000000) == 0x7f000000;
|
|
||||||
}
|
|
||||||
// END OF FIXME
|
|
||||||
|
|
||||||
if (PRIM->FGE)
|
if (PRIM->FGE)
|
||||||
{
|
{
|
||||||
m_ps_sel.fog = 1;
|
m_ps_sel.fog = 1;
|
||||||
|
|
|
@ -28,7 +28,6 @@
|
||||||
class GSRendererDX11 final : public GSRendererHW
|
class GSRendererDX11 final : public GSRendererHW
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
bool UserHacks_AlphaHack;
|
|
||||||
bool UserHacks_AlphaStencil;
|
bool UserHacks_AlphaStencil;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue