Skip to content
Rust Search
← Browse conferences

Writing GPU shaders in plain Rust

RustNL
RustWeek 34:55 3926 views

Writing GPU shaders in plain Rust by Sebastian Sydow (aka Firestar99). Rust-GPU is a rustc codegen backend that compiles embedded rust code to GPU shaders. You can then use these shaders in bevy, your custom wgpu engine or with plain Vulkan. But how does it compare to rust-like DSLs, such as wgsl or burn? Why are we targetting SPIR-V, yet can compile to wgsl? And if we really can compile ordinary rust, what could we run on graphics cards? You can find the slides to this talk here: https://driv

Player unavailable or embedding blocked? Use the YouTube link above.