Examples of using the Khronos Group's Vulkan standard.
vector_add
- a vector addition compute example
To build the examples a Vulkan driver is required, the CMake cross-platform build system is used to generate platform specific build files. After cloning the repository the following commands can be used to build the project.
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake --build .
Validation layers are disabled by default, to enable validation you can specify the following during CMake configuration.
cmake -DENABLE_LAYERS=ON ..
See license file.