Extension Compile Definitions
PRIVATE compile definitions are added to the
so that we can configure support for Vulkan extensions.
Reports support for VK_KHR_get_physical_device_properties2, enabled by default
Reports support for VK_KHR_storage_buffer_storage_class, enabled by default.
Reports support for VK_KHR_variable_pointers, enabled by default.
Installable Client Driver(ICD) Manifest
The Vulkan loader discovers implementations available on a system by detecting ICD JSON manifest files documenting a path to the shared library and the API version implemented.
source/vk/CMakeLists.txt file creates a manifest file for the loader
as part of the install target, located at
<install>/share/vulkan/icd.d/VK.json. This JSON is generated by our CMake
running python script
source/vk/scripts/VKICDManifest.py so we can embed
the correct version number and library name, using a relative path to our
installed VK library.
There is currently only a single CMake option specific to the implementation and testing of the Vulkan library.
A string CMake option to override the output name of the Vulkan shared library.
- Default value
Vulkan specific CMake utilities are provided by: