vitellus is a webgpu implementation fully written in zig, with support for web and native platforms.
Follows the WebGPU w3 specification.
albeit sysgpu is a great project (and hexops' mach project), sysgpu locks you into their own custom version mach-zig version. vitellus allows you to use any zig version (you always get the most stable version).
requires zig 0.16.0
to use this with the zig build system, import as so:
zig fetch --save git+https://github.com/eggyengine/vitellusand then in build.zig:
const vit = b.dependency("vitellus", .{
.target = target,
.optimize = optimize,
});
exe.root_module.addImport("vitellus", vit.module("vitellus"));and lastly in your library/executable:
const vit = @import("vitellus");take a look at the current status in src/backends/README.md