Moved per-frame state commitment out of DrawMesh