On Mon, May 23, 2016 at 10:47 PM, Giuseppe Bilotta <giuseppe.bilo...@gmail.com> wrote: > On Mon, May 23, 2016 at 4:45 PM, Marek Olšák <mar...@gmail.com> wrote: >> I think it would be better to put stuff like this only into the >> renderer string of drivers which use LLVM. The majority of drivers >> don't care about the LLVM version. > > Hm, that might be a good point. Is there a way to programmatically (at > source level) tell if a driver uses LLVM or not?
All drivers that use "gallium/auxiliary/draw" also use LLVM, but they might only use it for rare corner cases. The big LLVM users are softpipe (VS/GS part only), swr (not sure), llvmpipe, and radeonsi. Both llvmpipe and radeonsi already report the LLVM version via the renderer string. Marek _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev