Cannot use backbuffercopy and viewport together

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By SIsilicon

I am creating a multi-staged postprocessing effect add-on for Godot 3.0. I am using
Backbuffer-copy with a viewport to combine two stages of the pipeline together like so:
|> ‘3D scene’
|
> Viewport
|> TextureRect with first postprocessing effect.
|
> BackBuffer Copy
,|_> TextureRect that combines first effect with original viewport texture.

However, when I attempt to sample the viewport in the shader of the second textureRect, it always passes vec4(0.0), like the viewport has nothing in it.

This better not be a Godot bug.