On 30 June 2018 at 14:11, Marek Olšák <mar...@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 doesn't make much sense to do the TLS initialization in
> ac_llvm_compiler_init. It could be done in compile_to_memory_buffer
> and the fail path there could be removed.

compile_to_memory_buffer only covers one place we have a pass with
reinit, we also want to store the passmgr in the thread data for radv.

Dave.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to