Closed fcturan20 closed 2 years ago
RenderGraph's gonna be implemented in its own plugin which's gonna work cross-platform (will use TGFX). So we don't need to think about this issue until TGFX is fully implemented & tested. So closing this for now.
Currently RenderGraph reconstruction is needed if user wants to add a new pass. But while reconstructing the rendergraph, some information is lost which may cause unnecessary performance loss. Also most of the applications won't need to reconstruct the rendergraph from scratch, rather they want to add some passes that helps for visualization for a short time (such as a new viewport in the editor). This is why Pipeline Injection Points (PIPs) are needed. They are completely isolated injection points of list of passes. Passes that has a relationship with a PIP (depends on or dependent by) can't do any optimization (different queue, barrier integration etc.). That means less PIP the better optimization, avoiding a PIP is essential for a final product.