Merge remote-tracking branch 'khronos-public/master' into 160811b-merge-master-to-android_layers

Update build-android/build.py and build-android/jni/Android.mk
to adjust for new shaderc build infrastructure.
Now pull shaderc from aosp to stay in sync with NDK builds.
tree: a03bf0496461237976f7de9a244228474df51626
  1. .clang-format
  2. .gitignore
  3. Android.mk
  4. BUILD.md
  5. CMakeLists.txt
  6. CONTRIBUTING.md
  7. COPYRIGHT.txt
  8. LICENSE.txt
  9. README.md
  10. build-android/
  11. build_windows_targets.bat
  12. cmake/
  13. common/
  14. demos/
  15. determine_vs_version.py
  16. generator.py
  17. genvk.py
  18. glslang_revert_a5c33d.patch.txt
  19. glslang_revision
  20. include/
  21. layers/
  22. libs/
  23. loader/
  24. reg.py
  25. source_line_info.py
  26. spirv-headers_revision
  27. spirv-tools_revision
  28. tests/
  29. update_external_sources.bat
  30. update_external_sources.sh
  31. vk-generate.py
  32. vk-layer-generate.py
  33. vk-layer-introspect
  34. vk.xml
  35. vk_helper.py
  36. vk_layer_documentation_generate.py
  37. vulkan.py
  38. windowsRuntimeInstaller/
README.md

Vulkan Ecosystem Components

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

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.

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.