util/drirc: add workarounds for bugs in Doom 3: BFG
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 3 May 2019 03:59:05 +0000 (13:59 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Mon, 6 May 2019 07:32:36 +0000 (17:32 +1000)
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

src/util/00-mesa-defaults.conf

index f62315498b28ef5d51671912aec521a57d5c7794..c704a1756ae4c6d3c8c263b32cd1568f70940626 100644 (file)
@@ -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>