Filling the GBuffer from two different view locations, with a stencil mask?

On answer hub I found only one answer by Wright that explains usage of strncil.

It corresponds to recursive mirror/portal rendering, but maybe would be heplful for you.