Grease Pencil objects are not visible when using the viewport compositor. That's because since the introduction of multi-pass compositing, the compositor now access the combined pass written by EEVEE, which does not include GP. To fix this, we skip writing the EEVEE combined pass, then read the viewport texture for the combined pass as a special case, which should include GP.