[Mesa-dev] [PATCH 11/11] ac/radv: using tls to store llvm related info and speed up compiles (v3)

Dave Airlie airlied at gmail.com
Mon Jul 2 23:28:36 UTC 2018

On 30 June 2018 at 14:11, Marek Olšák <maraeo at gmail.com> wrote:
> I wonder if we can somehow make the TLS magic apply to RADV only.
> Radeonsi can do it without TLS. Then, the RADV-specific TLS code can be
> moved to RADV, and other code (if any) can be shared.

It's not the TLS code that is going to cause the problem, it's the C++
class. How to expose that into the driver without causing excess C++ exposure.

Since we have the compiler struct and the C++ class pretty much wrapping it,
to add the output stream and stuff.


More information about the mesa-dev mailing list