![]() ![]() The SPIRV-Headers repository is required because it supports components that are required to build the validation layers. This repository has a required dependency on the SPIRV-Headers repository. You must also take note of the headers' install directory and pass it on the CMake command line for building this repository, as described below. The Vulkan-Headers repository is required because it contains the Vulkan API definition files (registry) that are required to build the validation layers. You must clone the headers repository and build its install target before building this repository. This repository has a required dependency on the Vulkan Headers repository. The “install directory” override can also be used to force the use of a specific version of that dependency.Īlternatively, an automated method for obtaining and installing repo dependencies is provided, and described below, in Building Dependent Repositories. ![]() System-installed packages, mostly applicable on Linuxĭependencies that cannot be resolved by the SDK or installed packages must be resolved with the “install directory” override and are listed below.LunarG Vulkan SDK, located by the VULKAN_SDK environment variable.CMake or Environment variable overrides (e.g., -DVULKAN_HEADERS_INSTALL_DIR).This repository attempts to resolve some of its dependencies by using components found from the following places, in this order: To create your local git repository: git clone You will need to obtain and install a Vulkan driver from your graphics hardware vendor or from some other suitable source if you intend to run Vulkan applications. This repository does not contain a Vulkan-capable driver. The uninstall target can be used to remove the above files from the install directory. install_dir /share/vulkan/explicit_layer.d : The Vulkan validation layer JSON files (Linux and MacOS).install_dir /lib : The Vulkan validation layer libraries.The install target installs the following files under the directory indicated by install_dir: This repository contains the source code necessary to build the Vulkan validation layers and their tests. Please see the CONTRIBUTING.md file in this repository for more details. If you intend to contribute, the preferred work flow is for you to develop your contribution in a fork of this repository in your GitHub account and then submit a pull request. For platform-specific build instructions, see the appropriate Build section below. ![]() These are general instructions that should “just work” on Windows and Linux. This is necessary when calling the update_deps.py script manually. external/helper.cmake argument passed to cmake. If you want a "mix" (e.g., Release dependencies, Debug VVL), # you will want to use `update_deps.py` manually.Ĭmake - C. For generators such as Visual Studio that usually ignore # CMAKE_BUILD_TYPE, it's a good idea to still set CMAKE_BUILD_TYPE in this case to control # the build type of dependencies. ![]() # NOTE: If using -DUPDATE_DEPS=ON, CMAKE_BUILD_TYPE is used to determine the build type # of external dependencies. # Run './scripts/update_deps.py -help' for more information # NOTE: You can alternatively set -DUPDATE_DEPS=ON during cmake generation # to have a cmake target automatically run this as needed. NOTE: See this first if you are also building the tests. See platform-specific sections below for supported compiler versions. Python >= 3.7 (3.6 may work, 3.5 and earlier is not supported). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |