util: add some workarounds for the game Luna Sky
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 25 Jun 2021 11:31:16 +0000 (21:31 +1000)
committerMarge Bot <eric+marge@anholt.net>
Tue, 29 Jun 2021 02:59:28 +0000 (02:59 +0000)
Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4948

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11602>

src/util/00-mesa-defaults.conf

index 96188fd..1d23b6e 100644 (file)
@@ -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>