mesa/src/amd/llvm
Marek Olšák ac78b12e23 ac/llvm: don't set unsupported xnack options to fix LLVM crashes on gfx6-8
LLVM prints an error if xnack is unsupported and it uses a global stream
object that is not thread-safe. Since Mesa uses multiple threads to compile
shaders, there is a small chance that it will crash.

Just don't set any xnack options to use LLVM defaults.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4439

Cc: 20.3 21.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9795>
2021-04-02 12:05:00 +00:00
..
ac_llvm_build.c ac/llvm: handle demote in LLVM 13 that just added support for it 2021-03-17 00:42:27 +00:00
ac_llvm_build.h ac,radeonsi: add sampler changes for Aldebaran 2021-03-10 18:02:27 +00:00
ac_llvm_cull.c ac: add build_alloca with an initializer 2020-11-18 06:19:59 +00:00
ac_llvm_cull.h amd/llvm: switch to 3-spaces style 2020-09-07 10:00:20 +02:00
ac_llvm_helper.cpp ac/llvm: fix ac_build_atomic_rmw with LLVM 13 2021-03-03 01:19:24 +00:00
ac_llvm_util.c ac/llvm: don't set unsupported xnack options to fix LLVM crashes on gfx6-8 2021-04-02 12:05:00 +00:00
ac_llvm_util.h ac/llvm: don't set unsupported xnack options to fix LLVM crashes on gfx6-8 2021-04-02 12:05:00 +00:00
ac_nir_to_llvm.c ac/llvm: Fix alignment of shared load intrinsics. 2021-03-18 17:28:42 +00:00
ac_nir_to_llvm.h amd/llvm: switch to 3-spaces style 2020-09-07 10:00:20 +02:00
ac_shader_abi.h ac/llvm: Implement new Geometry Shader intrinsics. 2021-03-17 12:42:23 +00:00
meson.build meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00