[Mesa-dev] [PATCH] drirc: Add allow_glsl_builtin_redeclaration for Dead Island Riptide Definitive Edition

Benedikt Schemmer ben at besd.de
Sun May 14 19:30:50 UTC 2017

From: Benedikt Schemmer <ben at besd.de>

This patch sets the allow_glsl_builtin_redeclaration for Dead Island 
Riptide Definitive Edition.
This requires the patch series:
[Mesa-dev] [PATCH 0/2] Allow redeclaration of GLSL builtins; fixes Dying 
Light and Dead Island Definitive Edition
by John Brooks sent Fri May 12 13:39:46 UTC 2017

Tested with Mesa git as of today and Dying Light, Dead Island Definitive 
Edition and Dead Island Riptide Definite Edition

  src/mesa/drivers/dri/common/drirc | 5 +++++
  1 file changed, 5 insertions(+)

diff --git a/src/mesa/drivers/dri/common/drirc 
index e1b3722e6d..9f2ef6f159 100644
--- a/src/mesa/drivers/dri/common/drirc
+++ b/src/mesa/drivers/dri/common/drirc
@@ -92,6 +92,11 @@ TODO: document the other workarounds.
              <option name="allow_glsl_builtin_redeclaration" 
value="true" />

+        <application name="Dead Island Riptide Definitive Edition" 
+            <option name="allow_glsl_extension_directive_midshader" 
value="true" />
+            <option name="allow_glsl_builtin_redeclaration" value="true" />
+        </application>
          <application name="Dying Light" executable="DyingLightGame">
              <option name="allow_glsl_builtin_redeclaration" 
value="true" />

More information about the mesa-dev mailing list