Skip to content

tiawl/spirv.zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

774 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spirv.zig

This is a fork of hexops/spirv-tools which itself is a fork of KhronosGroup/SPIRV-Tools.

Why this forkception ?

The intention under this fork is the same as hexops had when they forked KhronosGroup/SPIRV-Tools: 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:

Dependencies

The Zig part of this package is relying on the latest Zig release (0.15.2) and will only be updated for the next one. It you use a more recent Zig version, please consider the zig-nightly branch and *-nightly tags.

For other dependencies see the build.zig.zon

zig build options

These additional options have mainly been implemented for maintainability tasks but they maybe could be useful for edge usecases:

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

License

This repository is not subject to a unique License:

The parts of this repository originated from this repository are dedicated to the public domain. See the LICENSE file for more details.

For other parts, it is subject to the License restrictions their respective owners choosed. By design, the public domain code is incompatible with the License notion. In this case, the License prevails. So if you have any doubt about a file property, open an issue.

About

spirv-tools packaged for @ziglang

Topics

Resources

License

Stars

Watchers

Forks

Contributors