Since https://developer.blender.org/rB85fe12071ad7f7f866b2f2e213ee291dc607b38d , when we look at current AOV pass in viewport and move the camera, there's a "flash" effect in this AOVs test file:
The cause seems to be that taa_current_sample when rendering (DRW_state_is_image_render() ) is ok because it has been incremented in EEVEE_temporal_sampling_draw but taa_current_sample is wrong when we are not rendering.
