summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Arceri <tarceri@itsqueeze.com>2019-05-03 13:59:05 +1000
committerJuan A. Suarez Romero <jasuarez@igalia.com>2019-05-06 16:48:57 +0200
commit6e52daa18cb607888c0d50d326197de5ef14f83a (patch)
treee710b39d2821523dd6e17d7b5f16404d5829f933
parentbdd273d8731bf9493bf1be488255e0da7771dcfd (diff)
util/drirc: add workarounds for bugs in Doom 3: BFG
This makes the game playable on radeonsi. Cc: "19.0" "19.1" <mesa-stable@lists.freedesktop.org> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110143 (cherry picked from commit 1af72fa4d665b9847dff9b22d7a7dea01c0960c7)
-rw-r--r--src/util/00-mesa-defaults.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index f62315498b2..c704a1756ae 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -111,6 +111,11 @@ TODO: document the other workarounds.
<option name="allow_glsl_builtin_variable_redeclaration" value="true" />
</application>
+ <application name="Doom 3: BFG" executable="Doom3BFG.exe">
+ <option name="allow_glsl_builtin_variable_redeclaration" value="true" />
+ <option name="force_glsl_extensions_warn" value="true" />
+ </application>
+
<application name="Dying Light" executable="DyingLightGame">
<option name="allow_glsl_builtin_variable_redeclaration" value="true" />
</application>