util/drirc: turn on force_glsl_extensions_warn for No Mans Sky
[mesa.git] / src / util / drirc
index c964588e72fb01bcd72a9e76bc5068290ca8bab5..8ece875e34f83d79a0a3e640db3b7c43c53a858c 100644 (file)
@@ -176,6 +176,15 @@ TODO: document the other workarounds.
             <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"/>
+        </application>
+
+        <application name="No Mans Sky" executable="NMS.exe">
+            <option name="force_glsl_extensions_warn" value="true" />
+        </application>
+
         <!-- The GL thread whitelist is below, workarounds are above.
              Keep it that way. -->
 
@@ -269,6 +278,21 @@ TODO: document the other workarounds.
         <application name="Mount and Blade Warband" executable="mb_warband_linux">
             <option name="mesa_glthread" value="true"/>
         </application>
+
+        <!-- around 18% performance increase in min and avg fps, max fps capped at 60fps. -->
+        <application name="Medieval II: Total War" executable="Medieval2">
+            <option name="mesa_glthread" value="true"/>
+        </application>
+
+        <!-- min fps ~21 ===> ~27 while standing still in game, also higher gpu load. -->
+        <application name="Carnivores: Dinosaur Hunter Reborn (wine)" executable="Carnivores-master.exe">
+            <option name="mesa_glthread" value="true"/>
+        </application>
+
+        <!-- around 30% increase in avg fps -->
+        <application name="Far Cry 2 (wine)" executable="farcry2.exe">
+            <option name="mesa_glthread" value="true"/>
+        </application>
     </device>
     <!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
     <device driver="vmwgfx">
@@ -277,9 +301,9 @@ TODO: document the other workarounds.
             <option name="glx_disable_oml_sync_control" value="true" />
             <option name="glx_disable_sgi_video_sync" value="true" />
         </application>
-       <application name="Compiz" executable="Compiz">
+        <application name="Compiz" executable="Compiz">
             <option name="glx_disable_ext_buffer_age" value="true" />
-           <option name="glx_disable_oml_sync_control" value="true" />
+            <option name="glx_disable_oml_sync_control" value="true" />
         </application>
     </device>
     <device driver="radeonsi">