fcturan20 / TuranLibraries

Easy to integrate, collection of libraries to add new features to C such as threading, logging, profiling, gfx abstraction etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RenderGraph Pipeline Injection Points

fcturan20 opened this issue · comments

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.

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.