Passing previous obmat to the shader to output motion vectors in a separate pass. This would improve TAA and add the ability to see motion blur on moving objects in the viewport. Maybe we need to restrict this to animation playback since without previous data the motion blur would be incorrect.
Idea: We could record the last frame number with the matrix and only update it if the current frame number changes.
Estimate : 1 week