GS/DX11: Commit clear before clearing stencil

Stops the discard happening later, and blowing away the cleared value.
This commit is contained in:
Stenzek 2023-08-13 21:11:38 +10:00 committed by Connor McLaughlin
parent 80fe813116
commit cd5ec59f6a
1 changed files with 3 additions and 0 deletions

View File

@ -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