cube: Use volk to load functions

This cherry-picks commits 62c4f8f7c546662aa5d43ca185e7d478d1224fb1
and f474dadc476a9998d933d7b90bfe7a5c55bd5dbf.

> Add volk as a repo dependency to replace the dependency on the
> Vulkan-Loader. This makes it easier to build the repo as the
> vulkan-loader has a much more complex build than volk does.
> It also allows vkcube to launch without vulkan being installed
> on the system, allowing for better error handling.
>
> Because volk can be used on all platforms, there is no longer a need
> for android_wrapper. Thus it has been removed.

This change also adds Fuchsia-specific build rule for volk.

Test: vkcube-on-fb
Test: vkcube-on-scenic
Bug: 378964821

Change-Id: Id8936714548716e4bbc9161ec1c602efd8f1692b
Reviewed-on: https://fuchsia-review.googlesource.com/c/third_party/Vulkan-Tools/+/1205128
Reviewed-by: Craig Stout <cstout@google.com>
Commit-Queue: Yilong Li <liyl@google.com>
14 files changed
tree: 9f2341436485807397fb35528765cc3a0caf0024
  1. .github/
  2. cube/
  3. icd/
  4. scripts/
  5. tests/
  6. vulkaninfo/
  7. windows-runtime-installer/
  8. .clang-format
  9. .gitattributes
  10. .gitignore
  11. BUILD.gn
  12. BUILD.md
  13. CMakeLists.txt
  14. CODE_OF_CONDUCT.md
  15. CONTRIBUTING.md
  16. GOVERNANCE.md
  17. LICENSE.txt
  18. mac_common.cmake
  19. README.md
README.md

KhronosGroup/Vulkan-Tools

This project provides Vulkan tools and utilities that can assist development by enabling developers to verify their applications correct use of the Vulkan API.

Intro

The following components are available in this repository:

Contact Information

Information for Developing or Contributing:

Please see the CONTRIBUTING.md file in this repository for more details. Please see the GOVERNANCE.md file in this repository for repository management details.

How to Build and Run

BUILD.md includes directions for building all components as well as running the vkcube demo applications.

Version Tagging Scheme

Updates to this repository which correspond to a new Vulkan specification release are tagged using the following format: v<version> (e.g., v1.3.266).

Note: Marked version releases have undergone thorough testing but do not imply the same quality level as SDK tags. SDK tags follow the vulkan-sdk-<version>.<patch> format (e.g., vulkan-sdk-1.3.266.0).

This scheme was adopted following the 1.3.266 Vulkan specification release.

License

This work is released as open source under a Apache-style license from Khronos including a Khronos copyright.

See LICENSE.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.