Don't prebuild a rendergraph in the renderer. Let the application build the graph, add an explicit transition to the output framebuffer in the graph. Hash the pass resources to check for existing passes that use the same resources.
This work should allow for an easy process to add a UI pass to the application #7.
Work has been made on this, PassResources now accepts a name rather than a render target. The name links to render_targets stored in the renderer. When compiling the graph names are resolved into their concrete images.
Something else to add, when a name isn't found, we should generate a new image based on the information provided: size, format, etc...