Mailing the story:
How to share code between Vulkan and Gallium
One of the key high-level challenges of building Mesa drivers these days is figuring out how to best share code between a Vulkan driver and a Gallium driver. In the old Gallium-only world, the answer was simple: Implement Gallium and you get all the APIs for free. However, because Gallium isn't really capable of implementing Vulkan, that answer no longer works.