Vulkan Test Applications is a repository that contains several sets of
Vulkan applications.
The goals of this project are to maintain a repository of accessible test
applications for Vulkan tool developers to leverage, as well as expose
interesting or non-obvious implications of the API.
This is not an official Google product (experimental or otherwise), it is just
code that happens to be owned by Google. See the
CONTRIBUTING.md file for more information. See also the
AUTHORS and CONTRIBUTORS files.
Test Types
Sample applications
These are a set of sample applications that either uses the API in a way that is
interesting for tools or use some functionality of the API that has not been
exposed to other samples.
These tests are designed to test the functionality of
GAPID for Vulkan. They can also be
used to expose a variety of function call permutations for any layers. As a
group, they attempt to call all Vulkan functions with all permutations of
valid inputs. See gapid_tests for more information.
Checking out / Building
To clone:
git clone --recursive path/to/this/repository
This will ensure that you have all of the dependencies checked out.
Vulkan Test Applications
Vulkan Test Applicationsis a repository that contains several sets of Vulkan applications.The goals of this project are to maintain a repository of accessible test applications for Vulkan tool developers to leverage, as well as expose interesting or non-obvious implications of the API.
This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google. See the CONTRIBUTING.md file for more information. See also the AUTHORS and CONTRIBUTORS files.
Test Types
Sample applications
These are a set of sample applications that either uses the API in a way that is interesting for tools or use some functionality of the API that has not been exposed to other samples.
GAPID command tests
These tests are designed to test the functionality of GAPID for Vulkan. They can also be used to expose a variety of function call permutations for any layers. As a group, they attempt to call all Vulkan functions with all permutations of valid inputs. See gapid_tests for more information.
Checking out / Building
To clone:
This will ensure that you have all of the dependencies checked out.
To build for Windows (NOTE: see Windows Dependencies).
or if you want to use Ninja
To build for Linux.
To build for Android.
This assumes the Android ndk is installed in the default location of path/to/android/sdk/ndk-bundle.
If it is installed elsewhere, use
To build only for 32-bit ARM platform.
glslc is required to compile GLSL shaders to SPIR-V. If it is not on your path, its location should be specified through
-DCMAKE_GLSL_COMPILERoption.Compilation Options
The only specific other compilation options control default behavior for all applications. See entry for more information on these flags.
Support Functionality
Standard Assets
Dependencies
These should be checked out into
third_party.Windows Dependencies
To build on Windows the following tools and libraries are required: