Categories
Applications
GUI
Graphics Library
  • Github CLI
  • SSH
  • HTTPS
Clone Repo

zig-vulkan-triangle

Example of using vulkan-zig and shader_compiler along with libxcb to open a window and draw a triangle.

Building and Running

zig build run

System Configuration

On NixOS, I had to add these to my shell:

buildInputs = [
    vulkan-loader
    vulkan-validation-layers
    xorg.libxcb
];

VK_LAYER_PATH="${pkgs.vulkan-validation-layers}/share/vulkan/explicit_layer.d";
About
simple triangle displayed using vulkan, xcb, and zig
Owner
andrewrk (User)
Last Commit
2024-09-09
Latest Release
Latest Release Date
Created
2018-08-09