From 2148619f3c6e4c8675f3a9f4b8746092d33a5798 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Thu, 27 Jun 2019 15:43:07 +0200 Subject: [PATCH] [d3d11] Spill render pass when restoring context state as needed --- src/d3d11/d3d11_context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d3d11/d3d11_context.cpp b/src/d3d11/d3d11_context.cpp index c2b1eb4b..4f4271e3 100644 --- a/src/d3d11/d3d11_context.cpp +++ b/src/d3d11/d3d11_context.cpp @@ -3613,7 +3613,7 @@ namespace dxvk { void D3D11DeviceContext::RestoreState() { - BindFramebuffer(false); + BindFramebuffer(m_state.om.maxUav > 0); BindShader (GetCommonShader(m_state.vs.shader.ptr())); BindShader (GetCommonShader(m_state.hs.shader.ptr()));