Vulkan loader and validation layers
C++ C Python Shell CMake Makefile Other
Latest commit 5d2f3dc Feb 21, 2017 @mikes-lunarg mikes-lunarg tests: Add test that uses object on wrong device
Exercise new object tracker handle check by trying to delete a render
pass on the wrong VkDevice.

Change-Id: I4480c5210d399c46b22e4c34630d76922aa934e3
Permalink
Failed to load latest commit information.
build-android android: Update build to skip image layer Feb 16, 2017
cmake Cmake: Add files needed to build with Mir Dec 9, 2016
common repo: Clang-format LVL source files using Google Jan 26, 2017
demos demos: Use device local heap for depth Feb 22, 2017
external_revisions externals: update external GitHub commits refs Feb 21, 2017
include/vulkan header: Update to Vulkan 1.0.41 Feb 17, 2017
layers tests: Add test that uses object on wrong device Feb 23, 2017
libs build: Cleanup warnings when compiling with clang Jan 4, 2017
loader loader: Configurable fallback search paths Feb 20, 2017
scripts header: Update to Vulkan 1.0.41 Feb 17, 2017
tests tests: Add test that uses object on wrong device Feb 23, 2017
windowsRuntimeInstaller winsdk: Build runtime from RelWithDebInfo Feb 10, 2017
.appveyor.yml build: Change appveyor to build VS 2013 and 2015 Feb 22, 2017
.clang-format repo: Change source style from LLVM to Google Jan 26, 2017
.gitignore android: Preserve toolchain build if present Dec 22, 2016
.travis.yml build: Update travis for xrandr dependency Jan 24, 2017
BUILD.md docs: Update build dependencies Jan 31, 2017
CMakeLists.txt loader: Configurable fallback search paths Feb 20, 2017
CONTRIBUTING.md docs: Update contributing doc Jan 25, 2017
COPYRIGHT.txt winrtinstaller: formatting of license files, make them more readable Apr 19, 2016
LICENSE.txt misc: Update licenses to Apache 2.0 Apr 19, 2016
README.md docs: Fix README to show Travis master br status Jan 4, 2017
build_windows_targets.bat scripts: Move determine_vs_version into scripts dir Nov 21, 2016
update_external_sources.bat externals: Update script to take URLs as params Feb 17, 2017
update_external_sources.sh externals: Update script to take URLs as params Feb 17, 2017

README.md

Vulkan Ecosystem Components

This project provides Khronos official ICD loader and validation layers for Vulkan developers on Windows and Linux.

CI Build Status

Platform Build Status
Linux/Android Build Status
Windows Build status

Introduction

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:

Contributing

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 respository for more details

How to Build and Run

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.

NOTE: Update Nvidia Drivers

  • A recent glslang change exposed a bug in the texel fetch behavior on Nvidia devices under certain situations.
  • Previously, we reverted the glslang change which exposed it.
  • Nvidia has since resolved the issue, and we are now removing the workaround.
  • Driver installs with the fix are available on their download page, just look for:
    • Linux Drivers starting with version 367.35
    • Windows Drivers starting at version 372.54

License

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.

Acknowledgements

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.