From: Benedikt Schemmer <b...@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
b/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>
+ <application name="Dead Island Riptide Definitive Edition"
executable="DeadIslandRiptideGame">
+ <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" />
</application>
--
2.11.0
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev