Brian Paul wrote:
> Kamalneet Singh wrote:
>> Stephane Marchesin wrote:
>>> [...]
>>> What specifically are you interested in ? FWIW all this stuff is quite
>>> unfinished...
>> We have a project to develop OpenGL ES Shading Language compiler. We
>> want to use llvm, and it makes sense to work with mesa instead of
>> starting from scratch.. :) So it's great that something works!
> 
> The LLVM code that's in Mesa now has nothing to do with the shading language 
> compiler.  I don't know if you've discovered that or not.

I didn't know that :) So what is it for? I saw Zack's post
(http://zrusin.blogspot.com/2007/05/mesa-and-llvm.html), and thought
perhaps some branch in mesa uses LLVM for GLSL now.. :)

What is the right place to generate LLVM IR? A new pass that operates on
mesa's IR? From _slang_emit_code?

> 
> For the long-term, we need a new GLSL compiler in Mesa.  I think a new 
> compiler which uses LLVM for code generation is the right way to go.  LLVM  
> has lots of good optimization infrastructure that I wouldn't want to try to 
> recreate.
> 
> For your project, are you planning producing an open-source GLSL compiler?

It's not something that I can decide :) I'll certainly push to send
patches that are relevant to mesa.

> 
> There's no reason why a GLSL compiler for OpenGL ES can't be the same 
> compiler used for full OpenGL's GLSL.

Yes, I hope to keep it that way if we work with mesa.

Thanks
~kammal

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to