Don't use an abspath LOCAL_PATH.

This doesn't work on Windows.

Test: ./ --filter test-vulkan-layers # on windows
Test: cd ../out/build-android; ./; ndk-build
Bug: http://b/31687097
Change-Id: I19256ed7d828422f00210e1d9aebf3ea9af04c14
(cherry picked from commit 9df80eb42c9e831a1e0b3be4f5346c2ff13b278c)
1 file changed
tree: caac1632f5cd23b5e0b6295efa59f4737e76f2d5
  1. .clang-format
  2. .gitignore
  5. CMakeLists.txt
  7. COPYRIGHT.txt
  8. LICENSE.txt
  10. build-android/
  11. build_windows_targets.bat
  12. cmake/
  13. common/
  14. demos/
  18. glslang_revision
  19. include/
  20. layers/
  21. libs/
  22. loader/
  25. spirv-headers_revision
  26. spirv-tools_revision
  27. tests/
  28. update_external_sources.bat
  32. vk-layer-introspect
  33. vk.xml
  37. windowsRuntimeInstaller/

Vulkan Ecosystem Components

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


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

How to Build and Run 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/

Architecture and interface information for the loader is in loader/

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


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.