Sounds great! I'm a "bit" confused, though.
Will this also end up as a workhorse for GLSL eventually or is meant to be OpenCL focused only?
Phoronix: R600 Gallium3D LLVM Shader Compiler Hooked Up
Mainline Mesa Git can now be built with the AMD R600 Gallium3D LLVM shader compiler back-end available...
http://www.phoronix.com/vr.php?view=MTA5MTk
Sounds great! I'm a "bit" confused, though.
Will this also end up as a workhorse for GLSL eventually or is meant to be OpenCL focused only?
Meanwhile who is compiling the shaders in Gallium?
Or maybe in the meantime the shaders aren't compiled at all, maybe they're interpreted or read from punch cards.
Useless for now, Unigine heaven shows green screen, lightmark does not render a model of the robot, ET:QW receives a segmentation fault.
R600_USE_LLVM=0 environment variable does not change anything, LLVM shader compiler is used anyway.
The LLVM backend will be used for OpenCL. It could potentially be used for GLSL as well, but it still needs a fair amount of work to bring it up to par with the current r600g compiler. At the moment there aren't any plans to improve GLSL support in the LLVM backend, but the work could certainly be done if an interested developer (or developers) wanted to do it.
Is this a feasible approach? Will LLVM bring significant improvements in any area over the current compiler?
If LLVM will be used for GPGPU compute wouldn't it make sense to have one compiler (with two front ends) instead of two?
is this technically related to the LunarGLASS project? afaik, they have GLSL to LLVM frontend