render/vulkan: Dynamically handle pipeline creation
The current way we handle pipelines is unmanageable as we add more pipeline variants. Instead we should dynamically manage them.
Future work:
-
Do this for pipeline layoutsMaybe just create pipeline layouts along with pipelines at risk of creating duplicate layouts
- Consider lazy initializing pipelines (literally just deletes code)
- I'm worried that compiling pipelines during draws instead of buffer bind time could be problematic
Edited by Alexander Orzechowski