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: f1cc13727c ("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>
(cherry picked from commit 80a377ad81)
This commit is contained in:
Timothy Arceri 2021-07-04 21:20:59 +10:00 committed by Eric Engestrom
parent b61449f334
commit ac826fea42
2 changed files with 4 additions and 1 deletions

View file

@ -2146,7 +2146,7 @@
"description": "util/radeonsi: add radeonsi workaround for Nuclear Throne",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "f1cc13727c6875ee5aae7656652dda231267cccf"
},

View file

@ -704,6 +704,9 @@ TODO: document the other workarounds.
<application name="Memoranda" executable="runner" sha1="aa13dec6af63c88f308ebb487693896434a4db56">
<option name="radeonsi_sync_compile" value="true" />
</application>
<application name="Nuclear Throne" executable="runner" sha1="84814e8db125e889f5d9d4195a0ca72a871ea1fd">
<option name="radeonsi_sync_compile" value="true" />
</application>
<application name="Undertale" executable="runner" sha1="dfa302e7ec78641d0696dbbc1a06fc29f34ff1ff">
<option name="radeonsi_sync_compile" value="true" />
</application>