[Libre-soc-dev] Rust as a GPU shader language

Jacob Lifshay programmerjake at gmail.com
Fri Oct 23 07:45:07 BST 2020

On Thu, Oct 22, 2020, 23:37 Luke Kenneth Casson Leighton <lkcl at lkcl.net>

> On Fri, Oct 23, 2020 at 7:25 AM Jacob Lifshay <programmerjake at gmail.com>
> wrote:
> >
> > Just saw this, thought you might find this an interesting read:
> >
> > https://github.com/EmbarkStudios/rust-gpu/releases/tag/v0.1
> "facilitate code-sharing between GPU and CPU"
> y'know, funnily ennough this is a NOP on a hybrid platform

not quite, you can then run it through the Vulkan API, which gives you
cross-platform compatibility.

> "rustc compiler backend to generate SPIR-V, plugging in via -Z
> codegen-backend."
> oo.  err... isn't that.. err kazan? :)

nope. they're converting rust source code to spir-v, kazan converts spir-v
to powerpc machine code with the help of llvm and/or cranelift.


More information about the Libre-soc-dev mailing list