Aims to auto-generate a Zig wrapper of wgpu-native with object notation and error unions.
  • Zig 58.8%
  • C 39.8%
  • Nix 1.4%
Find a file
2026-04-18 19:23:28 +08:00
build sync 2026-03-18 07:09:15 +08:00
vendor init 2026-03-04 11:40:18 +08:00
.envrc init 2026-03-04 11:40:18 +08:00
.gitignore init build script 2026-03-09 05:10:39 +08:00
.gitmodules init 2026-03-04 11:40:18 +08:00
bindings.zig trying stuff 2026-03-16 08:14:13 +08:00
build.zig naming i need to push this so it syncs yuhdfghguildhuig 2026-03-10 07:15:18 +08:00
build.zig.zon init 2026-03-04 11:40:18 +08:00
build.zig.zon.nix init 2026-03-04 11:40:18 +08:00
build.zig.zon2json-lock init 2026-03-04 11:40:18 +08:00
flake.lock update zig 2026-04-18 19:23:28 +08:00
flake.nix init 2026-03-04 11:40:18 +08:00
preprocessed.h trying stuff 2026-03-16 08:14:13 +08:00
readme.md init build script 2026-03-09 05:10:39 +08:00

Run clang -E -I vendor/wgpu-native/ffi/webgpu-headers vendor/wgpu-native/ffi/wgpu.h -o preprocessed.h, then zig translate-c preprocessed.h > bindings.zig to get initial bindings manually. WIP.