d3d12: minor cleanup

This commit is contained in:
raven02 2015-06-06 18:58:51 +08:00 committed by Vincent Lejeune
commit 68d3f6f536

View file

@ -1066,7 +1066,6 @@ void D3D12GSRender::ExecCMD()
check(commandList->Close()); check(commandList->Close());
m_commandQueueGraphic->ExecuteCommandLists(1, (ID3D12CommandList**)&commandList); m_commandQueueGraphic->ExecuteCommandLists(1, (ID3D12CommandList**)&commandList);
m_indexed_array.Reset(); m_indexed_array.Reset();
WriteDepthBuffer();
} }
void D3D12GSRender::Flip() void D3D12GSRender::Flip()
@ -1163,11 +1162,6 @@ D3D12GSRender::ResourceStorage& D3D12GSRender::getNonCurrentResourceStorage()
return m_perFrameStorage[1 - m_swapChain->GetCurrentBackBufferIndex()]; return m_perFrameStorage[1 - m_swapChain->GetCurrentBackBufferIndex()];
} }
void D3D12GSRender::WriteDepthBuffer()
{
}
ID3D12Resource * D3D12GSRender::writeColorBuffer(ID3D12Resource * RTT, ID3D12GraphicsCommandList * cmdlist) ID3D12Resource * D3D12GSRender::writeColorBuffer(ID3D12Resource * RTT, ID3D12GraphicsCommandList * cmdlist)
{ {
ID3D12Resource *Result; ID3D12Resource *Result;