Small Vulkan test project using the C++ bindings. Loosely based on https://vulkan-tutorial.com/.
meson build
ninja -C build
build/meson-out/vulkan-demo
Misc useful debugging commands, require the respective tools to be installed.
# Check for memory errors with Valgrind
valgrind build/meson-out/vulkan-demo
# Enable Vulkan validation layer
VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation build/meson-out/vulkan-demo
# Dump Vulkan API calls
VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_api_dump build/meson-out/vulkan-demo