[Mesa-dev] r600g: Add hooks for the LLVM backend

Tom Stellard tstellar at gmail.com
Tue Apr 17 09:11:00 PDT 2012


Hi,

This patch series adds the necessary hooks, so that r600g can use the
LLVM backend for graphics shaders.  To use the LLVM backend just add
--enable-r600-llvm-compiler to your configure flags.

The LLVM backend for graphics is still experimental, and it currently
has to fallback to the default compiler in order to handle indirect
addressing.  With that fallback it passes 5464/5641 piglit tests vs
5511/5641 with the default compiler.  Besides indirect addressing,
the biggest thing missing from the backend is support for most of the
texturing instructions.

At the moment, I do not have any plans to improve support for graphics
in the LLVM backend, but I wanted to get these patches merged into master
to give people who are interested a chance to hack on it.

-Tom



More information about the mesa-dev mailing list