[Mesa-users] threading in mesa

Brian Paul brianp at vmware.com
Tue Dec 11 15:40:57 PST 2012


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


More information about the mesa-users mailing list