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