Hasty Briefsbeta

Bilingual

Shadertoys Ported to Rust GPU

a year ago
  • #GPU
  • #Shaders
  • #Rust
  • Ported popular Shadertoy shaders to Rust using Rust GPU.
  • Rust GPU allows writing GPU programs in Rust, compiling to SPIR-V for Vulkan compatibility.
  • Shared data structures between CPU and GPU seamlessly using Rust and the bytemuck crate.
  • Used Rust traits, generics, and macros for reusable and ergonomic shader abstractions.
  • Standard Rust tools like cargo check, build, and clippy work with Rust GPU shaders.
  • Contributed fixes to wgpu and naga, improving the Rust GPU ecosystem.
  • Rust GPU is ready for shader experimentation and welcomes more users and contributors.