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

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Aug 9 16:04:39 UTC 2018


Module: Mesa
Branch: staging/18.1
Commit: 894fdbf05820880d5b54729028db1a9fac9e4c6c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=894fdbf05820880d5b54729028db1a9fac9e4c6c

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 c76f1ca438..edf14396e1 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