Mesa (staging/21.1): util: add some workarounds for the game Luna Sky

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jun 30 08:10:55 UTC 2021


Module: Mesa
Branch: staging/21.1
Commit: a452b88ad92db5c5933546fc093056468ddfc331
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a452b88ad92db5c5933546fc093056468ddfc331

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Fri Jun 25 21:31:16 2021 +1000

util: add some workarounds for the game Luna Sky

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

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11602>
(cherry picked from commit 01fa90b456d6a247f8ec899b6085164fc46c6172)

---

 .pick_status.json              | 2 +-
 src/util/00-mesa-defaults.conf | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.pick_status.json b/.pick_status.json
index f2fe1a90831..9ba2941ab85 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -472,7 +472,7 @@
         "description": "util: add some workarounds for the game Luna Sky",
         "nominated": true,
         "nomination_type": 0,
-        "resolution": 0,
+        "resolution": 1,
         "main_sha": null,
         "because_sha": null
     },
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 2661363c956..23bab8e67f7 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -212,6 +212,11 @@ TODO: document the other workarounds.
             <option name="glsl_zero_init" value="true"/>
         </application>
 
+        <application name="Luna Sky" executable="lunasky">
+            <option name="force_glsl_version" value="130"/>
+            <option name="glsl_ignore_write_to_readonly_var" value="true"/>
+        </application>
+
         <application name="Rocket League" executable="RocketLeague">
             <option name="glsl_correct_derivatives_after_discard" value="true"/>
         </application>



More information about the mesa-commit mailing list