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

Vedran Miletic vedran at miletic.net
Mon May 23 22:50:19 UTC 2016


On 05/24/2016 12:46 AM, Marek Olšák wrote:
> 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
>

r600 also uses LLVM, for Clover.

Regards,
Vedran

-- 
Vedran Miletić
vedran.miletic.net


More information about the mesa-dev mailing list