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

Luke Kenneth Casson Leighton lkcl at lkcl.net
Fri Oct 23 08:57:31 BST 2020


On 10/23/20, Jacob Lifshay <programmerjake at gmail.com> wrote:
> On Fri, Oct 23, 2020, 00:18 Luke Kenneth Casson Leighton <lkcl at lkcl.net>
> wrote:

>> 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?)
>>
>
> yup.

nice.  and the vulkan compatibility would mean that the game (or
whatever) wouldn't care.

> clang can compile opencl c/c++ to spir-v, using the llvm backend for
> spir-v, though clang targets the opencl variant and the linked project
> targets the vulkan/opengl variant (the variants are different enough to not
> usually be intercompatible).

and have different intrinsic focuses/focii  if i remember correctly
what you said in the context of MESA/NIR?

l.



More information about the Libre-soc-dev mailing list