Add more granular multiarch usage for Mesa Vulkan overlay JSON manifest
Submitted by Shmerl
Assigned to mes..@..op.org
After recent changes, VkLayer_MESA_overlay.json references implicit libVkLayer_MESA_overlay.so which supposedly should be accessible to the loader (either in common library cache or through LD_LIBRARY_PATH).
It would be better for it to use explicit reference, similar to how actual Vulkan ICD manifests are doing it. But for that, there should be separate JSON loader manifest for each architecture. Is it currently possible?
Actual ICDs do support it, i.e. you can find:
So loader knows which one to pick depending on the arch even during implicit loading.
Would it work for layers?
I.e. for example:
Each of them referencing explicit .so location? Or that requires fixing the layer loading logic first?
I also opened this to be able to load layer JSON explicitly, like ICD manifests allow: