From 0be60890e7da5f1eada2497178eb1e40e7c320b5 Mon Sep 17 00:00:00 2001 From: raven02 Date: Sun, 31 May 2015 23:55:47 +0800 Subject: [PATCH] d3d12: minor fixes --- rpcs3/Emu/RSX/D3D12/D3D12GSRender.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rpcs3/Emu/RSX/D3D12/D3D12GSRender.cpp b/rpcs3/Emu/RSX/D3D12/D3D12GSRender.cpp index 76fb34024c..753c28d3d9 100644 --- a/rpcs3/Emu/RSX/D3D12/D3D12GSRender.cpp +++ b/rpcs3/Emu/RSX/D3D12/D3D12GSRender.cpp @@ -1109,14 +1109,14 @@ void D3D12GSRender::semaphorePGRAPHBackendRelease(u32 offset, u32 value) case CELL_GCM_SURFACE_TARGET_MRT2: if (m_context_dma_color_a) rtt0 = writeColorBuffer(m_rtts.m_currentlyBoundRenderTargets[0], downloadCommandList); if (m_context_dma_color_b) rtt1 = writeColorBuffer(m_rtts.m_currentlyBoundRenderTargets[1], downloadCommandList); - if (m_context_dma_color_b) rtt2 = writeColorBuffer(m_rtts.m_currentlyBoundRenderTargets[2], downloadCommandList); + if (m_context_dma_color_c) rtt2 = writeColorBuffer(m_rtts.m_currentlyBoundRenderTargets[2], downloadCommandList); break; case CELL_GCM_SURFACE_TARGET_MRT3: if (m_context_dma_color_a) rtt0 = writeColorBuffer(m_rtts.m_currentlyBoundRenderTargets[0], downloadCommandList); if (m_context_dma_color_b) rtt1 = writeColorBuffer(m_rtts.m_currentlyBoundRenderTargets[1], downloadCommandList); - if (m_context_dma_color_b) rtt2 = writeColorBuffer(m_rtts.m_currentlyBoundRenderTargets[2], downloadCommandList); - if (m_context_dma_color_b) rtt3 = writeColorBuffer(m_rtts.m_currentlyBoundRenderTargets[3], downloadCommandList); + if (m_context_dma_color_c) rtt2 = writeColorBuffer(m_rtts.m_currentlyBoundRenderTargets[2], downloadCommandList); + if (m_context_dma_color_d) rtt3 = writeColorBuffer(m_rtts.m_currentlyBoundRenderTargets[3], downloadCommandList); break; } if (needTransfer) @@ -1254,4 +1254,4 @@ void D3D12GSRender::semaphorePFIFOAcquire(u32 offset, u32 value) ); valueChangerThread.detach(); } -#endif \ No newline at end of file +#endif