Extension Compile Definitions
The following PRIVATE
compile definitions are added to the VK
target
so that we can configure support for Vulkan extensions.
- CA_VK_KHR_get_physical_device_properties2
Reports support for VK_KHR_get_physical_device_properties2, enabled by default
- CA_VK_KHR_storage_buffer_storage_class
Reports support for VK_KHR_storage_buffer_storage_class, enabled by default.
- CA_VK_KHR_variable_pointers
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.
Our 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.
Options
There is currently only a single CMake option specific to the implementation and testing of the Vulkan library.
- CA_VK_LIBRARY_NAME
A string CMake option to override the output name of the Vulkan shared library.
- Default value
"VK"
Modules
Vulkan specific CMake utilities are provided by: