Mesa (staging/18.2): drirc: Allow extension midshader for Metro Redux

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Aug 13 12:28:54 UTC 2018


Module: Mesa
Branch: staging/18.2
Commit: 8be5985e65bbcb070882db4a59fc0bf79c13581f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8be5985e65bbcb070882db4a59fc0bf79c13581f

Author: vadym.shovkoplias <vadim.shovkoplias at gmail.com>
Date:   Mon Aug  6 15:52:13 2018 +0300

drirc: Allow extension midshader for Metro Redux

This fixes both Metro 2033 Redux and Metro Last Light Redux

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99730
Signed-off-by: Eero Tamminen <eero.t.tamminen at intel.com>
Signed-off-by: Vadym Shovkoplias <vadym.shovkoplias at globallogic.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
(cherry picked from commit e0de26eacc93f431962533f50d57e58335843d6b)

---

 src/util/drirc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/util/drirc b/src/util/drirc
index 8ece875e34..c4f9e060f3 100644
--- a/src/util/drirc
+++ b/src/util/drirc
@@ -120,6 +120,10 @@ TODO: document the other workarounds.
             <option name="allow_glsl_extension_directive_midshader" value="true" />
         </application>
 
+        <application name="Metro 2033 Redux / Metro Last Night Redux" executable="metro">
+            <option name="allow_glsl_extension_directive_midshader" value="true" />
+        </application>
+
         <application name="Worms W.M.D" executable="Worms W.M.Dx64">
             <option name="allow_higher_compat_version" value="true" />
         </application>




More information about the mesa-commit mailing list