// the find
gfx-rs/wgpu-rs
Rust bindings to wgpu native library
This is the old wgpu-rs crate — a Rust wrapper for the wgpu graphics API. The project was folded into the main gfx-rs/wgpu monorepo in mid-2021, so this repo is a historical artifact. If you're looking for wgpu today, you want gfx-rs/wgpu directly.
- The example set is genuinely good — boids compute shader, shadow mapping, skybox, MSAA lines, water simulation — covers the full range of GPU use cases with working WGSL shaders
- The dual-backend design (direct.rs vs web.rs) shows the architecture for targeting both native and WebGPU/WASM from the same codebase, which is still instructive reading
- StagingBelt and the util module (belt.rs, device.rs, encoder.rs) introduced patterns that survived into the merged crate
- Dead project — last real commit was 2021, README itself says 'moved elsewhere'. There is nothing here to adopt.
- If you clone this and run it, you're on a Rust edition and wgpu API version from 2021 — the API has changed significantly since; pipeline layouts, bind group layouts, and error handling all look different in current wgpu
- The texture-arrays example still ships pre-compiled SPIR-V blobs alongside WGSL, a relic from the GLSL-to-WGSL transition that never got cleaned up
- No path forward documented in the repo itself — a new contributor would have to read the README to discover the migration, which is a one-liner pointing offsite