When is GI applied in the deferred pipeline? Is it applied with all the lights or after Final Pass? (or somewhere else?)

During the G-buffer pass, ambient & lightmaps & emissive things are rendered into the emission buffer.
This is fairly easy to see using the Frame Debugger by the way.

View more