util/radeonsi: add radeonsi workaround for Nuclear Throne
authorTimothy Arceri <tarceri@itsqueeze.com>
Sun, 4 Jul 2021 11:20:59 +0000 (21:20 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 7 Jul 2021 02:45:23 +0000 (02:45 +0000)
commit80a377ad81ce7b94b4d3a84fc103962e96d204d8
tree8c8fb144467ec33a3c1f8d18146ce81e6eee0113
parent50d6c58abb9975bff1d7eb7ae19d5a76e35c4203
util/radeonsi: add radeonsi workaround for Nuclear Throne

Without radeonsi_sync_compile the game crashes at startup. The
game engine uses a custom global new operator which doesn't
play well with multithreading.

Fixes: f1cc13727c68 ("radeonsi: enable workarounds for YoYo engine based games")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5023

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11701>
src/util/00-mesa-defaults.conf