mach-gpu-dawn
gpuweb
Our great sponsors
mach-gpu-dawn | gpuweb | |
---|---|---|
2 | 56 | |
143 | 4,580 | |
2.1% | 1.7% | |
8.6 | 9.1 | |
7 days ago | 3 days ago | |
Zig | Bikeshed | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mach-gpu-dawn
-
What's your go to platform for developing with WebGPU?
It's using a Dawn a couple months out of date, but there's this: https://github.com/hexops/mach-gpu-dawn
-
zig-gamedev: audio experiments sample app (wgpu, cross-platfrom)
When reading "wgpu", I wondered if it used the WebGPU implementation of the same name (wgpu) rather than Dawn. It may be worth changing mentions of "wgpu" to "WebGPU" in zgpu (and these titles) similar to how its dependency, mach-gpu-dawn, uses these names,
gpuweb
- WGSL Is Terrible
-
WebGPU now available for testing in Safari Technology Preview
People keep spreading this incredibly misleading statement, and yours is even more misleading (suggesting Apple opposed a 'GPU WASM')
By all accounts, Apple's /only/ stance was that if WebGPU used SPIR-V it would be a non-starter for them, due to ongoing legal issues between Apple and Khronos.
Apple actually proposed WebHLSL in collaboration with Microsoft, to have HLSL be the standard.
Mozilla employee's stance[0] was that SPIRV was too low level, did not fit with the goals of WebGPU portability and security, and expressed concern that Khronos may add functionality to SPIRV they cannot support in WebGPU like raytracing instructions .. 'So we'd always be on the verge of forking SPIR-V in some way.'
It was also noted by many people that even if a bytecode format was used, it would still have to be translated to the target (HLSL/DXIL, MSL, etc.) in almost the same way a text format would.
Nobody proposed a 'GPU WASM equivalent' or an alternative bytecode format.
The hard truth is that shader compilation is a fucking nightmare, people do not realize how bad it is across the different native APIs. SPIR-V is good, but it doesn't solve that - and presents other challenges if you are a web browser API. Vulkan and SPIRV are not the golden goose many make them out to be.
[0] https://github.com/gpuweb/gpuweb/issues/847#issuecomment-642...
-
Show HN: WebGPU Particles Simulation
Yes it is still a bit new. WebGPU is not finished and is still being worked on: https://webgpu.io/
-
Capturing the WebGPU Ecosystem
WebGPU currently doesn't support the "bindless" resource access model (see: https://github.com/gpuweb/gpuweb/issues/380).
The "max number of sampled texture per shader stage" is a runtime device limit, and the minimal value for that seems to be 16. So texture atlasses are still a thing in WebGPU.
-
Why aren't we using highly efficient int8 calcualtions in quants? (maybe eli14?)
There's even an implementation under discussion to have the dp4a instruction added to WebGPU (https://github.com/gpuweb/gpuweb/issues/2677)
- WebGPU – All of the cores, none of the canvas
- How to get Chromium working with the Vulkan driver on a RPi4?
- Anyone has Chromium WebGPU working?
- [Rust_Gamedev] WGSL est-il un bon choix?
- I want to talk about WebGPU
What are some alternatives?
wgpu - Cross-platform, safe, pure-rust graphics api.
wgsl.vim - WGSL syntax highlight for vim
capy - 💻Build one codebase and get native UI on Windows, Linux and Web
pyodide - Pyodide is a Python distribution for the browser and Node.js based on WebAssembly
zig-clap - Simple command line argument parsing library
noclip.website - A digital museum of video game levels
zig-gamedev - Main monorepo for @zig-gamedev libs and example applications
BestBuy-GPU-Bot - BestBuy Bot is an Add to cart and Auto Checkout Bot. This auto buying bot can search the item repeatedly on the ITEM page using one keyword. Once the desired item is available it can add to cart and checkout very fast. This auto purchasing BestBuy Bot can work on Firefox Browser so it can run in all Operating Systems. It can run for multiple items simultaneously.
mach - zig game engine & graphics toolkit
wgpu-rs - Rust bindings to wgpu native library
mecha - A parser combinator library for Zig
WASI - WebAssembly System Interface