Mesa (main): util: add work around for the game We Happy Few

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 24 00:09:34 UTC 2021


Module: Mesa
Branch: main
Commit: d22cdcd33a4ee2e47b07235f986273b9b69d5804
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d22cdcd33a4ee2e47b07235f986273b9b69d5804

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Wed Jun 23 23:42:53 2021 +1000

util: add work around for the game We Happy Few

This is another Unreal engine game that requires the
allow_glsl_cross_stage_interpolation_mismatch workaround.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4966

Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11558>

---

 src/util/00-mesa-defaults.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 3839dea5053..96188fd1b26 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -236,6 +236,10 @@ TODO: document the other workarounds.
             <option name="allow_glsl_cross_stage_interpolation_mismatch" value="true"/>
         </application>
 
+        <application name="We Happy Few" executable="GlimpseGame">
+            <option name="allow_glsl_cross_stage_interpolation_mismatch" value="true"/>
+        </application>
+
         <application name="Google Earth VR" executable="Earth.exe">
             <option name="allow_glsl_builtin_const_expression" value="true"/>
             <option name="allow_glsl_relaxed_es" value="true"/>



More information about the mesa-commit mailing list