webgpu: begin building Dawn with Zig

* MacOS support functional
* C shims for dawn_native functionality, e.g. required utilities for binding to a GLFW window.
* Fully building with Zig, but depends on ziglang/zig#10096 for Obj-C++ support.

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2021-11-05 03:32:34 -07:00 committed by Stephen Gutekanst
parent 564248c09b
commit b2aca7fdde
8 changed files with 2251 additions and 0 deletions

1295
webgpu/build_dawn.zig Normal file

File diff suppressed because it is too large Load diff