Skip to content

thekorn/vulkan-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vulkan experiments

This is a playground to experiment with the vulkan api in zig. currently it is drawing a triangle.

triangle

running

Easiest ist to spawn the nix shell, which includes all dependencies.

nix-shell

within the shell, run the application

zig build run

or, alternativly, run the application and debug print the vulkan api calls

VK_INSTANCE_LAYERS=VK_LAYER_LUNARG_api_dump zig build run

Alternatively, use vkconfig for more fine grained layers config.

More verbose moltenVK logging

MVK_CONFIG_LOG_LEVEL=2 zig build run

code generations

In order to (re-)generate the c bindings, run

zig build -Dgenerate-bindings

ressources

About

vulkan experiments in zig

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages