commit | 559965df4454924996b706fc6b0c356ce70719c4 | [log] [tgz] |
---|---|---|
author | Mark Young <marky@lunarg.com> | Sat Jul 01 15:36:23 2017 -0600 |
committer | Lenny Komow <lenny@lunarg.com> | Mon Oct 23 15:08:17 2017 -0600 |
tree | 845bd1971a6b6dd3b54ba9dcf5a00960bdaa936a | |
parent | 2dea3dbe72223530fe63cfeca0ee1bca67aecd95 [diff] |
loader: Override layer support and settings Add support for an override layer in the loader. The usage will become obvious in a few days. Revamp the logic to detect manifest files in the various paths that we allow them to be placed. This code greatly re-writes loader_get_manifest_files. Clean up layer functions in loader to follow the proper coding standard (lower-camel-case for functions). Also, add the logic to find the layer settings file using the loader. That way we can find the proper path once and provide it to all layers. This also allows us to place the settings file in a global directory so we can override it with the pending layer manager GUI. Change-Id: I2851dc36e97cd5564cfc57445f4a71b397e8c1a0
This project provides Khronos official ICD loader and validation layers for Vulkan developers on Windows and Linux.
Platform | Build Status |
---|---|
Linux/Android | |
Windows |
Vulkan is an Explicit API, enabling direct control over how GPUs actually work. No (or very little) validation or error checking is done inside a Vulkan driver. Applications have full control and responsibility. Any errors in how Vulkan is used often result in a crash. This project provides standard validation layers that can be enabled to ease development by helping developers verify their applications correctly use the Vulkan API.
Vulkan supports multiple GPUs and multiple global contexts (VkInstance). The ICD loader is necessary to support multiple GPUs and the VkInstance level Vulkan commands. Additionally, the loader manages inserting Vulkan layer libraries, including validation layers between the application and the ICD.
The following components are available in this repository:
If you intend to contribute, the preferred work flow is for you to develop your contribution in a fork of this repo in your GitHub account and then submit a pull request. Please see the CONTRIBUTING file in this repository for more details
BUILD.md includes directions for building all the components, running the validation tests and running the demo applications.
Information on how to enable the various Validation layers is in layers/README.md.
Architecture and interface information for the loader is in loader/LoaderAndLayerInterface.md.
This work is released as open source under a Apache-style license from Khronos including a Khronos copyright.
See COPYRIGHT.txt for a full list of licenses used in this repository.
While this project has been developed primarily by LunarG, Inc; there are many other companies and individuals making this possible: Valve Corporation, funding project development; Google providing significant contributions to the validation layers; Khronos providing oversight and hosting of the project.