[Mesa-dev] [PATCH] Android: fix r300g only build

Emil Velikov emil.l.velikov at gmail.com
Thu Apr 27 16:27:37 UTC 2017


On 27 April 2017 at 17:18, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> On Thu, Apr 27, 2017 at 11:36 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>> On 27 April 2017 at 16:11, Rob Herring <robh at kernel.org> wrote:
>>
>>>
>>> BTW, mesa lists this as the LLVM version requirements:
>>>
>>> LLVM_REQUIRED_GALLIUM=3.3.0
>> src/gallium/auxiliary/{draw,gallivm}, used by
>>  - nouveau (nv30), i915, r300, softpipe (yes) and svga  - optional
>>  - llvmpipe, swr, radeonsi - mandatory
>
> Technically, it's optionally used by everything as it's used for
> GL_FEEDBACK implementation by st/mesa. But the drivers you point at do
> use it for more than just that. However for none of the "optional"
> ones is llvm required (perhaps that's your point) - draw can operate
> without llvm as well.
>
Yes, that's correct - a complete answer is:
 - nouveau.... explicitly use the draw module. which on its own
optionally require LLVM.
 - llvm... use the gallivm module, which mandates LLVM
All the gallium drivers implicitly use the draw module.

The original reply aimed to provide quick and simply answer, for a
non-dev. POV ;-)

-Emil


More information about the mesa-dev mailing list