mirror of
https://github.com/openharmony/third_party_vulkan-loader.git
synced 2026-07-19 17:13:36 -04:00
649409e50f
ReadDataFilesInRegistry would return VK_ERROR_INITIALIZATION_FAILED in several cases which could cause the loader to short cirtuit and return that value when no drivers were found in the registry. This is inconsistent with the later check of the size of the list of manifest, which if it is 0 returns VK_ERROR_INCOMPATABLE_DRIVER. This commit changes the instances of INIT_FAILED into INCOMPATABLE_DRIVER where relevant.
Loader Specification and Interfaces
See LoaderAndLayerInterface.md for detailed documentation.
Building
Builds for Linux, Windows, and MacOS are supported via CMake. See top level BUILD.md file.