Better « How to write shaders » guide #191
Replies: 2 comments 3 replies
-
Hi @hadronized :) I haven't started on the If you run into any trouble please open a ticket at the cargo-gpu repo. |
Beta Was this translation helpful? Give feedback.
-
Cool, thanks for the fast reply. I think I struggle the most with is the crate separation that is required because of all the toolchain setup. I’m not sure whether it’s the tooling that’s hard to work with, or whether it’s just me not used to it. I’ll play along with it, thanks! |
Beta Was this translation helpful? Give feedback.
-
Hello!
I’m looking for a way to write my shaders using
rust-gpu
, and I realized it’s not as easy as I thought it would be. The main issue I have is the guide that doesn’t really go deep in details on how to setup the various crates, and the toolchain.From my understanding, given what
cargo-gpu
does, it should be possible to compile the shader codes without impacting the toolchain of the main project, even though it depends on the SPIR-V builder.Also, I saw there was a way to bypass the toolchain check, but I haven’t been successful at it so far (it keeps complaining about the wrong toolchain being used).
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions