From 42e61020e45825772564303e14246b36fee67d50 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Thu, 27 Jun 2019 15:50:14 +0200 Subject: [PATCH] [d3d11] Remove unused SetRenderTargets method --- src/d3d11/d3d11_context.cpp | 19 ------------------- src/d3d11/d3d11_context.h | 5 ----- 2 files changed, 24 deletions(-) diff --git a/src/d3d11/d3d11_context.cpp b/src/d3d11/d3d11_context.cpp index 4f4271e37..9f53c0a79 100644 --- a/src/d3d11/d3d11_context.cpp +++ b/src/d3d11/d3d11_context.cpp @@ -3573,25 +3573,6 @@ namespace dxvk { } - void D3D11DeviceContext::SetRenderTargets( - UINT NumViews, - ID3D11RenderTargetView* const* ppRenderTargetViews, - ID3D11DepthStencilView* pDepthStencilView) { - // Native D3D11 does not change the render targets if - // the parameters passed to this method are invalid. - if (!ValidateRenderTargets(NumViews, ppRenderTargetViews, pDepthStencilView)) - return; - - for (UINT i = 0; i < m_state.om.renderTargetViews.size(); i++) { - m_state.om.renderTargetViews[i] = i < NumViews - ? static_cast(ppRenderTargetViews[i]) - : nullptr; - } - - m_state.om.depthStencilView = static_cast(pDepthStencilView); - } - - void D3D11DeviceContext::GetConstantBuffers( const D3D11ConstantBufferBindings& Bindings, UINT StartSlot, diff --git a/src/d3d11/d3d11_context.h b/src/d3d11/d3d11_context.h index 23c6f5f40..6f9a3a8ee 100644 --- a/src/d3d11/d3d11_context.h +++ b/src/d3d11/d3d11_context.h @@ -778,11 +778,6 @@ namespace dxvk { ID3D11UnorderedAccessView* const* ppUnorderedAccessViews, const UINT* pUAVInitialCounts); - void SetRenderTargets( - UINT NumViews, - ID3D11RenderTargetView* const* ppRenderTargetViews, - ID3D11DepthStencilView* pDepthStencilView); - void GetConstantBuffers( const D3D11ConstantBufferBindings& Bindings, UINT StartSlot,