Re: threading in mesa

Brian Paul <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Organization VMware, Inc.
Message-ID <[email protected]>
On 12/11/2012 09:37 AM, burlen wrote:
>
>> GLSL 1.30 should work with OSMesa, but yeah, no threading there.
> Nice! So which compiler is used for runtime glsl compilation? llvm
> does not seem to be required to build osmesa, does this mean which
> ever compiler was used to build osmesa will be used for glsl?

Mesa compiles GLSL code with its own compiler.  It produces an IR 
which is then translated into several different instructions sets 
depending on the driver.  LLVM is not involved in this.

For OSMesa, the IR is translated into Mesa internal GPU-like 
instruction set which is executed with a simple interpreter.

-Brian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.