From ed8592b30b6ac247e2494dcd5fd76f1c967cd874 Mon Sep 17 00:00:00 2001 From: lightningterror Date: Fri, 24 May 2019 01:16:40 +0200 Subject: [PATCH] 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). --- plugins/GSdx/Renderers/DX11/GSRendererDX11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GSdx/Renderers/DX11/GSRendererDX11.cpp b/plugins/GSdx/Renderers/DX11/GSRendererDX11.cpp index 62b4395b98..74064e2c5b 100644 --- a/plugins/GSdx/Renderers/DX11/GSRendererDX11.cpp +++ b/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)