Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tiawl/shaderc.zig
shaderc packaged for @ziglang
https://github.com/tiawl/shaderc.zig
binding shaderc spaceporn zig ziglang
Last synced: 23 days ago
JSON representation
shaderc packaged for @ziglang
- Host: GitHub
- URL: https://github.com/tiawl/shaderc.zig
- Owner: tiawl
- License: mit
- Created: 2024-04-09T17:02:49.000Z (7 months ago)
- Default Branch: trunk
- Last Pushed: 2024-09-26T14:46:09.000Z (about 1 month ago)
- Last Synced: 2024-10-01T03:21:35.453Z (about 1 month ago)
- Topics: binding, shaderc, spaceporn, zig, ziglang
- Language: C++
- Homepage:
- Size: 158 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# shaderc.zig
This is a fork of [google/shaderc][1] packaged for [Zig][2]
## Why this fork ?
The intention under this fork is to package [google/shaderc][1] for [Zig][2]. So:
* Unnecessary files have been deleted,
* The build system has been replaced with `build.zig`,
* A cron runs every day to check [google/shaderc][1]. Then it updates this repository if a new release is available.## How to use it
The goal of this repository is not to provide a [Zig][2] binding for [google/shaderc][1]. There are at least as many legit ways as possible to make a binding as there are active accounts on Github. So you are not going to find an answer for this question here. The point of this repository is to abstract the [google/shaderc][1] compilation process with [Zig][2] (which is not new comers friendly and not easy to maintain) to let you focus on your application. So you can use **shaderc.zig**:
- as raw (no available example, open an issue if you are interested in, we will be happy to help you),
- as a daily updated interface for your [Zig][2] binding of [google/shaderc][1] (see [here][11] for a private usage).## Dependencies
The [Zig][2] part of this package is relying on the latest [Zig][2] 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:
* [google/shaderc](https://github.com/tiawl/shaderc.zig/blob/trunk/.references/shaderc)## CICD reminder
These repositories are automatically updated when a new release is available:
* [tiawl/spaceporn][3]This repository is automatically updated when a new release is available from these repositories:
* [google/shaderc][1]
* [tiawl/toolbox][4]
* [tiawl/glslang.zig][5]
* [tiawl/spirv.zig][6]
* [tiawl/spaceporn-action-bot][7]
* [tiawl/spaceporn-action-ci][8]
* [tiawl/spaceporn-action-cd-ping][9]
* [tiawl/spaceporn-action-cd-pong][10]## `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.
[1]:https://github.com/google/shaderc
[2]:https://github.com/ziglang/zig
[3]:https://github.com/tiawl/spaceporn
[4]:https://github.com/tiawl/toolbox
[5]:https://github.com/tiawl/glslang.zig
[6]:https://github.com/tiawl/spirv.zig
[7]:https://github.com/tiawl/spaceporn-action-bot
[8]:https://github.com/tiawl/spaceporn-action-ci
[9]:https://github.com/tiawl/spaceporn-action-cd-ping
[10]:https://github.com/tiawl/spaceporn-action-cd-pong
[11]:https://github.com/tiawl/spaceporn/blob/trunk/src/compiler/bindings/shaderc/shaderc.zig