Skip to content
Snippets Groups Projects
Commit 816fd2cf authored by Marek Olšák's avatar Marek Olšák Committed by Dylan Baker
Browse files

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: mesa/mesa#4439



Cc: 20.3 21.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <mesa/mesa!9795>
(cherry picked from commit ac78b12e)
parent a1328ea7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment