Mesa (master): radeonsi: move GL vendor workaround to drirc
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Sep 21 12:33:52 UTC 2020
Module: Mesa
Branch: master
Commit: 1826367333e22f907259b39d4887e7de57ad8d51
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1826367333e22f907259b39d4887e7de57ad8d51
Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date: Tue Sep 15 10:48:26 2020 +0200
radeonsi: move GL vendor workaround to drirc
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6754>
---
src/gallium/drivers/radeonsi/si_get.c | 3 ---
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>
More information about the mesa-commit
mailing list