[LLVMdev] LLVM as an OpenGL backend (original) (raw)

Owen Anderson resistor at mac.com
Wed Feb 11 08:54:21 PST 2015


On Feb 11, 2015, at 11:37 AM, Tom Stellard <tom at stellard.net> wrote:

On Wed, Feb 11, 2015 at 04:06:10PM +0000, Sam Kellett wrote: Would it be feasible to compile LLVM IR into shading language assembler? If so, is this already being done?

The R600 backend does this in conjunction with the Open Source mesa3D project: http://www.mesa3d.org/ <http://www.mesa3d.org/> Mesa has a glsl frontend that is used to emit LLVM IR for newer AMD GPUs, which is fed into the R600 backend to produce native GPU code. Besides hardware accelerated drivers, the Mesa3d project also comes with a software based rasterizer, which does the same thing, but instead of the R600 backend it uses some of llvm's CPU backends.

I think he was asking about the other direction, from LLVM IR —> shading languages?

—Owen -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150211/61b78ace/attachment.html>



More information about the llvm-dev mailing list