mach/gpu-dawn
Stephen Gutekanst 162a9825e8 gpu-dawn: update README to reflect Dawn-specific package
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2021-12-22 18:04:33 -07:00
..
libs rename mach/gpu to mach/gpu-dawn 2021-12-22 18:04:33 -07:00
src rename mach/gpu to mach/gpu-dawn 2021-12-22 18:04:33 -07:00
build.zig rename mach/gpu to mach/gpu-dawn 2021-12-22 18:04:33 -07:00
build_dawn.zig rename mach/gpu to mach/gpu-dawn 2021-12-22 18:04:33 -07:00
README.md gpu-dawn: update README to reflect Dawn-specific package 2021-12-22 18:04:33 -07:00

mach/gpu-dawn, the easiest way to build Dawn Hexops logo

mach/gpu-dawn is the easiest way to build Dawn (Google's WebGPU implementation), requiring nothing more than zig and git to build and cross-compile static Dawn libraries for every OS.

This repository is a separate copy of the same library in the main Mach repository, and is automatically kept in sync, so that anyone can use this library in their own project / engine if they like!

Warning: Under heavy development!

This package is still under heavy development, Linux and macOS are working but Windows is not yet.

Zero fuss installation, cross compilation, and more

Just as with Mach, you get zero fuss installation & cross compilation using these GLFW bindings. only zig and git are needed to build from any OS and produce binaries for every OS. No system dependencies at all.

Zig Dawn/WebGPU interface

This package implements the the mach/gpu Zig interface which, for Zig developers, allows swapping between WebGPU implementations seamlessly similar to the std.mem.Allocator interface.

Generated code

Dawn itself relies on a fairly large amount of dependencies, generated code, etc. To avoid having any dependency on Google build tools, code generation, etc. we maintain a minor fork of Dawn which has generated code and third-party dependencies comitted.