GS/DX11: Commit clear before clearing stencil

Stops the discard happening later, and blowing away the cleared value.
This commit is contained in:
Stenzek authored and Connor McLaughlin committed 2023-08-15 13:08:51 +10:00
1 parent 80fe813116
commit cd5ec59f6a
1 file changed
+3
+3
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