Skip to content
Permalink
Browse files

gsdx-d3d11: Don't run Alpha Stencil on DATE with texture shuffle.

It breaks DATE with tex shuffle (Haunting Ground 2, Superman shadow of
Apokolips, possibly others too).
  • Loading branch information...
lightningterror committed May 23, 2019
1 parent 3289dc1 commit ed8592b30b6ac247e2494dcd5fd76f1c967cd874
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugins/GSdx/Renderers/DX11/GSRendererDX11.cpp
@@ -948,7 +948,7 @@ void GSRendererDX11::DrawPrims(GSTexture* rt, GSTexture* ds, GSTextureCache::Sou
// to only draw pixels which would cause the destination alpha test to fail in the future once.
// Unfortunately this also means only drawing those pixels at all, which is why this is a hack.
// It helps render transparency in Amagami, breaks a lot of other games.
if (UserHacks_AlphaStencil && DATE && !DATE_one && m_om_bsel.wa && !m_context->TEST.ATE)
if (UserHacks_AlphaStencil && DATE && !DATE_one && !m_texture_shuffle && m_om_bsel.wa && !m_context->TEST.ATE)
{
// fprintf(stderr, "Alpha Stencil detected\n");
if (!m_context->FBA.FBA)

0 comments on commit ed8592b

Please sign in to comment.
You can’t perform that action at this time.