Skip to content

tiawl/spirv.zig

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:

How to use it

The current usage of this repository is centered around tiawl/shaderc.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/shaderc.zig to see how you can use it. Maybe for your own need, some headers are missing. If it happens, open an issue: this repository is open to potential usage evolution.

Dependencies

The Zig part of this package is relying on the latest Zig release (0.12.0) and will only be updated for the next one (so for the 0.13.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.