[libre-riscv-dev] porting AMDVLK to the Libre RISC-V 3D GPU: NLNet EUR 50, 000 Grant application

Jacob Lifshay programmerjake at gmail.com
Thu Sep 26 04:32:14 BST 2019


On Wed, Sep 25, 2019, 21:25 Luke Kenneth Casson Leighton <lkcl at lkcl.net>
wrote:

> ---
> crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
>
> On Thu, Sep 26, 2019 at 4:20 AM Luke Kenneth Casson Leighton
> <lkcl at lkcl.net> wrote:
> >
> > On Thu, Sep 26, 2019 at 3:17 AM Michael Pham <pham.michael.98 at gmail.com>
> wrote:
> >
> > > > If we were to base it off of one of AMDVLK or RADV, I'd pick RADV,
> > > > because we can then benefit from all the work that Mesa (not just
> AMD)
> > > > has put into NIR, where they do graphics-specific optimizations
> before
> > > > handing off the code to LLVM.
> > > >
> > >
> > > This is actually what I was trying to tell Luke as well (although I
> > > said it more clumsily and not as succinct).
> >
> > ok.  then we take a closer look at it.
>
>
> https://gitlab.freedesktop.org/mesa/mesa/blob/52b905aa0c1e2e6ec5b8b50b7dd0388b54441fc6/src/compiler/spirv/spirv_to_nir.c
>
> okay.  so this partly explains why it's been hard to track down:
> SPIR-V is converted to NIR.
>

See slides from presentation at fosdem 2018 for diagrams:
https://fosdem.org/2018/schedule/event/radeonsi/attachments/slides/2253/export/events/attachments/radeonsi/slides/2253/fosdem2018_shaders.pdf

Jacob

>


More information about the libre-riscv-dev mailing list