[Mesa-dev] [PATCH] drirc: Allow extension midshader for Metro Redux

vadym.shovkoplias vadim.shovkoplias at gmail.com
Mon Aug 6 12:46:57 UTC 2018


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>
---
 src/util/drirc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/util/drirc b/src/util/drirc
index 8ece875e34..acf20d11fc 100644
--- a/src/util/drirc
+++ b/src/util/drirc
@@ -88,6 +88,7 @@ TODO: document the other workarounds.
         <application name="Dead Island (incl. Definitive Edition)" executable="DeadIslandGame">
             <option name="allow_glsl_extension_directive_midshader" value="true" />
 
+
             <!-- For the Definitive Edition which shares the same executable name -->
             <option name="allow_glsl_builtin_variable_redeclaration" value="true" />
         </application>
@@ -120,6 +121,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>
-- 
2.18.0



More information about the mesa-dev mailing list