Skip to content

render/vulkan: Dynamically handle pipeline creation

Alexander Orzechowski requested to merge Nefsen402/wlroots:pipelines into master

The current way we handle pipelines is unmanageable as we add more pipeline variants. Instead we should dynamically manage them.

Future work:

  1. Do this for pipeline layouts
    • Maybe just create pipeline layouts along with pipelines at risk of creating duplicate layouts
  2. 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

Merge request reports