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

Luke Kenneth Casson Leighton lkcl at lkcl.net
Fri Oct 23 08:17:58 BST 2020


On Fri, Oct 23, 2020 at 7:45 AM Jacob Lifshay <programmerjake at gmail.com> wrote:
>
> On Thu, Oct 22, 2020, 23:37 Luke Kenneth Casson Leighton <lkcl at lkcl.net>
> wrote:
>
> > 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.

ok.

> >
> > "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,

okaay, interesting.  so it's a front-end / intermediary compiler.  a
bit like.. the opencl compiler? (did i see a c/c++ to spir-v compiler
somewhere?)

l.



More information about the Libre-soc-dev mailing list