Rémi Bernon : d3d11: Capture and restore pixel shader state.