mach/webgpu
Stephen Gutekanst b2aca7fdde 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>
2021-11-21 08:32:03 -07:00
..
libs webgpu: add libs/dawn submodule 2021-11-21 08:32:03 -07:00
src webgpu: begin building Dawn with Zig 2021-11-21 08:32:03 -07:00
build.zig webgpu: begin building Dawn with Zig 2021-11-21 08:32:03 -07:00
build_dawn.zig webgpu: begin building Dawn with Zig 2021-11-21 08:32:03 -07:00
README.md webgpu: add README 2021-07-04 12:17:37 -07:00

WebGPU for Zig Hexops logo

Idiomatic Zig bindings to WebGPU, the up-and-coming API which allows for unified access to low-level graphics APIs like Vulkan, Metal, and D3D12 across web, desktop, and mobile devices.

This library is truly cross platform, allowing you to use the same graphics API in the web or natively (desktop & mobile):

  • WebAssembly targets: Uses the browser's provided WebGPU API.
  • Native targets: supports multiple WebGPU backend implementations:

webgpu.h version

Both Dawn and gfx-rs/wgpu-native implement a shared common C header, webgpu.h which maps 1:1 with the WebGPU IDL specification.

You can find the version of webgpu.h currently targeted by this library here.