OpenCL, GLSL Back-End For LLVM May Soon Open Up
Phoronix: OpenCL, GLSL Back-End For LLVM May Soon Open Up
A university student that successfully wrote OpenCL and GLSL back-ends to the Low Level Virtual Machine (LLVM) is arranging to have the code open-sourced if there is interest, which already LLVM developers are requesting...
This may fitin nicely in http://www.lunarglass.org/.
While this is interesting, i'm not sure it has any bearing on Mesa
Mesa is trying to compile GLSL and OpenCL into a form the hardware understands, while this is doing the opposite.
IIUC, it will allow you to write some code in C and have LLVM transform that into an OpenCL program.
I think the purpose is to use LLVM optimizers.
Originally Posted by smitty3268
I just hope TGSI will be replaced with enhanced LLVM bitcode. One that supports graphics semantics, and Gallium drives will translate LLVM->hw. For more information...the site I gave above.
the LLVM stuff is for software rendering only because the LLVM can not handle a VLIW gpu architecture.
Originally Posted by Drago
means you can build a software pipe with that but not a gpu acceleration.
What's the problem with LLVM and VLIW? Can someone of the devs explain briefly? Is that graphics compute load, is so much more different than non-graphics one?
Originally Posted by Qaridarium
Somewhere I read about differnt memory model for graphics, than non-graphics, but didn't understant it quite well.