Skip to content

antono2/v_vulkan_bindings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

v_vulkan_bindings

Generates the vulkan bindings for V from the current KhronosGroup API description.

run

python3 src/main.py -registry vulkandocs/xml/vk.xml vulkan.v
python3 src/main.py -registry vulkandocs/xml/video.xml vulkan_video.v

Make sure to clone vulkandocs first

git clone --depth 1 https://github.com/KhronosGroup/Vulkan-Docs.git vulkandocs

Example Setup using preinstalled vulkan registry

Working Directory: ~/workspace/v_vulkan_bindings

Script Name:        src/main.py
Params Vulkan:      -registry ../../../../usr/share/vulkan/registry/vk.xml vulkan.v
Params VulkanVideo: -registry ../../../../usr/share/vulkan/registry/video.xml vulkan_video.v

About

Generates the Vulkan bindings for V

Topics

Resources

License

Stars

Watchers

Forks