third_party_vulkan-loader/docs
Mark Young cbe28ac790 Consistent loader device ordering
The loader ICD ordering could be random on Linux based on using readdir
to find ICD manifest files.  This can result in random behaviors as
applications that select only the first device can switch which device is
used.  To resolve this, we now sort based on device type and then
internally to the types based on PCI bus information.

This also introduces a VK_LOADER_DEFAULT_DEVICE environment variable
that can be used to force a specific PCI device.  This environment variable
is actually a duplicate of the MESA_VK_DEVICE_SELECT variable, which is
also looked for if the loader environment variable is not found.

Note, that at least one ICD must support it for the extension to be used at all.
So we only do the sorting if one ICD supports it.

Fixes part of #657
2022-01-12 16:53:35 -07:00
..
images Change Implementation->Drivers 2021-10-20 16:27:28 -06:00
LoaderApplicationInterface.md Consistent loader device ordering 2022-01-12 16:53:35 -07:00
LoaderDriverInterface.md Add loader policy statements 2021-12-13 11:05:15 -07:00
LoaderInterfaceArchitecture.md Consistent loader device ordering 2022-01-12 16:53:35 -07:00
LoaderLayerInterface.md Add loader policy statements 2021-12-13 11:05:15 -07:00