Create optimized pipelines in the background?
When creating vulkan pipelines, we can pass a bit to disable optimization. This would allow us to create pipelines more quickly in response to unexpected input (e.g. shader recompilation). At the same time we should create optimized pipelines in a background worker thread and update them in-place once those are completed.
Needs to be tested to see how much difference it would make.