mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-18 12:04:17 +01:00
GS/DX11: Commit clear before clearing stencil
Stops the discard happening later, and blowing away the cleared value.
This commit is contained in:
1 parent
80fe813116
commit
cd5ec59f6a
1 file changed
+3
@@ -1776,6 +1776,9 @@ void GSDevice11::SetupDATE(GSTexture* rt, GSTexture* ds, const GSVertexPT1* vert
|
||||
{
|
||||
// sfex3 (after the capcom logo), vf4 (first menu fading in), ffxii shadows, rumble roses shadows, persona4 shadows
|
||||
|
||||
CommitClear(rt);
|
||||
CommitClear(ds);
|
||||
|
||||
m_ctx->ClearDepthStencilView(*static_cast<GSTexture11*>(ds), D3D11_CLEAR_STENCIL, 0.0f, 0);
|
||||
|
||||
// om
|
||||
|
||||
Reference in new issue
Block a user