webgpu-native/webgpu-headers
View on GitHub ↗ ★ 596 C++
webgpu.h - C version of the JS API, for both native and Wasm. A multi-vendor standard between Dawn/Emdawnwebgpu and wgpu-native. Designed primarily for binding into higher-level languages.
9 mentions on Hacker News by 5 people: 0 stories, 9 comments · first 2020-01-16 · latest 2024-08-30
20082026
-
WebGPU has a (mostly) standardized C API: https://github.com/webgpu-native/webgpu-headers
comment by Encounter · 2024-08-30 · in SDL3 new GPU API merged -
There's standardized C API which is both implemented by Dawn and wgpu.rs: https://github.com/webgpu-native/webgpu-headers/blob/main/we... ...and this standardized API would also enable other independent native implementations (and shader…
comment by flohofwoe · 2023-10-11 · in Vulkan Documentation -
The API definition exists: https://github.com/webgpu-native/webgpu-headers/blob/main/we... The next missing piece is a standard window system glue API for WASI though.
comment by flohofwoe · 2023-05-04 · in I want to talk about WebGPU -
…any hoops. On top of that, I've been enjoying writing in Rust. Why the bloat when this exist? https://github.com/webgpu-native/webgpu-headers EDIT: nvm i got confused by the name.. who thought it was a good idea to have almost similar…
comment by Shadonototra · 2021-10-18 · in Learn Wgpu -
…C++) and wgpu (in Rust) respectively. Both are designed to be usable behind the same native C API - https://github.com/webgpu-native/webgpu-headers > For the shading language they settled on a text based language designed to be easily…
comment by kvark · 2021-05-18 · in First Public Working Drafts: WebGPU and WebGPU Shading Language -
wgpu-rs and Dawn have already started to implement a common "webgpu-native" header ( https://github.com/webgpu-native/webgpu-headers/blob/master/... ) which would allow native implementations to be swapped
comment by grovesNL · 2020-02-07 · in Dawn, a WebGPU Implementation in C++ -
Dawn also offers a plain C API (IMHO that's much cleaner than the C++ API, but YMMV of course). https://github.com/webgpu-native/webgpu-headers/blob/master/...
comment by flohofwoe · 2020-02-07 · in Dawn, a WebGPU Implementation in C++ -
…API and run natively. Dawn and wgpu are also collaborating on a common set of native headers ( https://github.com/webgpu-native/webgpu-headers ) to make it easy to switch between implementations.
comment by grovesNL · 2020-01-19 · in Standalone WebAssembly games using I/O devices -
…also been collaborating to create a common set of WebGPU headers. The WIP headers are located at https://github.com/webgpu-native/webgpu-headers if you're interested in contributing or following.
comment by grovesNL · 2020-01-16 · in Vulkan 1.2