Fix regression for Vulkan layers with $LIB or $PLATFORM in their layer_path
-
pv-runtime: Log critical warnings if layers are not going to work
Diagnoses: steamrt/tasks#239
-
pv-runtime: Ensure Vulkan layer manifests are all in the same directory
Because implicit layers don't respect VK_LAYER_PATH, we rely on adding /overrides/share to $XDG_DATA_DIRS as our way to get our modified JSON manifests to be picked up. However, this will only work if all of our layers are described by manifests directly inside /overrides/share/vulkan/*_layers.d/, and putting the manifests in a subdirectory of that directory will not work.
steamrt/tasks#239
Fixes: c2fd0c62 "pressure-vessel: Reuse the drivers basename"
Resolves: https://github.com/ValveSoftware/steam-runtime/issues/564
Doing some final testing but in the meantime this is ready for review.