Create pipeline state from blank slate, not over the top of previous

This commit is contained in:
baldurk
2016-09-23 12:07:30 +02:00
parent a1ff033d82
commit 05eb9d7efd
+3 -1
View File
@@ -816,7 +816,7 @@ void D3D12Replay::MakePipelineState()
{
const D3D12RenderState &rs = m_pDevice->GetQueue()->GetCommandData()->m_RenderState;
D3D12PipelineState &state = m_PipelineState;
D3D12PipelineState state;
/////////////////////////////////////////////////
// Input Assembler
@@ -1119,6 +1119,8 @@ void D3D12Replay::MakePipelineState()
i++;
}
}
m_PipelineState = state;
}
void D3D12Replay::RenderCheckerboard(Vec3f light, Vec3f dark)