Zig vulkan renderer
May 14, 2025 ยท View on GitHub

Zig vulkan renderer
A toy renderer written in zig using vulkan and glfw
Requirements
Zig build toolchain does most of the heavy lifting. The only systems requirement is the Vulkan SDK. Make sure you download Vulkan 1.4 or up
This project uses zig 0.14.0
Run the project
Do the following steps
$ git clone <repo>
$ cd <folder>
$ zig build run
Run tests
Currently the code base is not really well tested, but you can run the few tests by doin zig build test
Sources:
- Vulkan fundementals:
- Setup Zig for Gamedev: https://dev.to/fabioarnold/setup-zig-for-gamedev-2bmf
- Using vulkan-zig: https://github.com/Snektron/vulkan-zig/blob/master/examples