Why does SpirvBuilder enforce a pinned nightly version for CPU code? #277
-
Any project using rust-GPU needs to pin to the supported nightly compiler. Why is this necessary? Can't the SpirvBuilder invoke rustup to download the correct compiler version and use it to compile the codegen Backend and the shader crates to generate the SPV files? Note: Lifting this requirement would be immensly helpful for my rewrite of the shadertoys app. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
That's why we're working on cargo gpu. Not officially announced and still in flux with how the interface should look like. I recently made it usable from a build script, which is not yet documented in the readme but there's an example in the PR: Rust-GPU/cargo-gpu#71 |
Beta Was this translation helpful? Give feedback.
That's why we're working on cargo gpu. Not officially announced and still in flux with how the interface should look like.
I recently made it usable from a build script, which is not yet documented in the readme but there's an example in the PR: Rust-GPU/cargo-gpu#71