mirror of
https://github.com/openharmony/third_party_vulkan-loader.git
synced 2026-07-19 17:13:36 -04:00
cc8e6bb52a
An application program that overrides malloc with an implementation that returns NULL for a zero-sized allocation will cause some loader and trampoline functions to incorrectly return VK_ERROR_OUT_OF_HOST_MEMORY if there are no layers on the system. This patch prevents these errors by also checking the layer count. Fixes: https://github.com/KhronosGroup/Vulkan-Loader/issues/543
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.