radeonsi: move GL vendor workaround to drirc

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6754>
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2020-09-15 10:48:26 +02:00
parent fc6df020e3
commit 1826367333
2 changed files with 3 additions and 3 deletions

View file

@ -35,9 +35,6 @@
static const char *si_get_vendor(struct pipe_screen *pscreen)
{
/* Don't change this. Games such as Alien Isolation are broken if this
* returns "Advanced Micro Devices, Inc."
*/
return "X.Org";
}

View file

@ -619,6 +619,9 @@ TODO: document the other workarounds.
</application>
</device>
<device driver="radeonsi">
<application name="Alien Isolation" executable="AlienIsolation">
<option name="force_gl_vendor" value="X.Org" />
</application>
<application name="American Truck Simulator" executable="amtrucks">
<option name="radeonsi_zerovram" value="true" />
</application>