diff options
author | Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> | 2020-09-15 10:48:26 +0200 |
---|---|---|
committer | Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> | 2020-09-21 14:14:57 +0200 |
commit | 1826367333e22f907259b39d4887e7de57ad8d51 (patch) | |
tree | ac263e5dd073948487436c42d53253b70c7391c5 | |
parent | fc6df020e3b3ccbd46994986da5f24611a971927 (diff) |
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>
-rw-r--r-- | src/gallium/drivers/radeonsi/si_get.c | 3 | ||||
-rw-r--r-- | src/util/00-mesa-defaults.conf | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeonsi/si_get.c b/src/gallium/drivers/radeonsi/si_get.c index 169cf7eecf0..d0bf95dca4b 100644 --- a/src/gallium/drivers/radeonsi/si_get.c +++ b/src/gallium/drivers/radeonsi/si_get.c @@ -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"; } diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf index ce0a6338649..a24f6272bab 100644 --- a/src/util/00-mesa-defaults.conf +++ b/src/util/00-mesa-defaults.conf @@ -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> |