[Mesa-dev] [PATCH 2/2] Add LLVM version to Mesa version strings

Marek Olšák maraeo at gmail.com
Mon May 23 22:46:50 UTC 2016


On Mon, May 23, 2016 at 10:47 PM, Giuseppe Bilotta
<giuseppe.bilotta at gmail.com> wrote:
> On Mon, May 23, 2016 at 4:45 PM, Marek Olšák <maraeo at 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


More information about the mesa-dev mailing list