"Drawing a Triangle" with Vulkan. An implementation of the tutorial at https://vulkan-tutorial.com/Drawing_a_triangle/Setup/Base_code.
Screenshot of the demo running on Ubuntu 21.10 on an AMD Ryzen 9 5900HX:
You will need Cmake and Vulkan installed. On Ubuntu 21, do this:
sudo apt install cmake libvulkan1 mesa-vulkan-drivers vulkan-utils
Run
cmake -S HelloTriangle/ -B build && cmake --build build
./build/bin/HelloTriangle
An experiment with Compute Shaders and benchmark them against GPUs
cd CustomCompute
cmake -S . -B build && cmake --build build
time ./build/bin/CustomCompute
time ./build/bin/CppBenchmark