Skip to content

tiawl/vulkan.zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vulkan.zig

This is a fork of hexops/vulkan-headers which is itself a fork of KhronosGroup/Vulkan-Headers.

Why this forkception ?

The intention under this fork is the same as hexops had when they forked KhronosGroup/Vulkan-Headers: package the headers for Zig. So:

  • Unnecessary files have been deleted,
  • The build system has been replaced with build.zig.

However this repository has subtle differences for maintainability tasks:

  • No shell scripting,
  • A cron runs every day to check KhronosGroup/Vulkan-Headers. Then it updates this repository if a new release is available.

How to use it

The current usage of this repository is centered around tiawl/glfw.zig compilation. But you could use it for your own projects. Headers are here and there are no planned evolution to modify them. See tiawl/glfw.zig to see how you can use it.

Dependencies

The Zig part of this package is relying on the latest Zig release (0.13.0) and will only be updated for the next one (so for the 0.14.0).

Here the repositories' version used by this fork:

CICD reminder

These repositories are automatically updated when a new release is available:

This repository is automatically updated when a new release is available from these repositories:

zig build options

These additional options have been implemented for maintainability tasks:

  -Dfetch   Update .references folder and build.zig.zon then stop execution
  -Dupdate  Update binding

License

The unprotected parts of this repository are under MIT License. For everything else, see with their respective owners.