[Mesa-dev] I want write a opengl/es compiler using llvm, give me some advise please.

Keith Whitwell keithw at vmware.com
Thu May 6 01:21:06 PDT 2010

On Thu, 2010-05-06 at 01:14 -0700, Liu wrote:
> hi all
>       I saw http://llvm.org/devmtg/2007-05/10-Lattner-OpenGL.pdf , it
> is COOL! So I want to do somthing like this on Mesa. Now, I want a
> glsl parser, as, linker, and some doc. of them. So I can write CG for
> llvm, and then write the backend, using glsl compiler's as and linker.
>       I know few things about of the opengl/es and glsl, I need read
> glsl compiler and rewrite it, may you give me some information please?
> And, Anybody do this?
> Thank you all, my dear friends.

Take a look at the existing llvmpipe project within mesa.  At least get
it building & see if its related to what you're interested in.


More information about the mesa-dev mailing list