util: Avoid strict aliasing bugs in xxhash.
[mesa.git] / src / util / 00-mesa-defaults.conf
index 2aa3524e47e2ac73743a6004749dddfc4719ebd7..ddc65a21fe85c4bd260995458ce9e21e9cf9cdce 100644 (file)
@@ -278,6 +278,14 @@ TODO: document the other workarounds.
             <option name="force_integer_tex_nearest" value="true" />
         </application>
 
+        <!-- Workarounds for SPECviewperf relying on invalid / non-conformant
+             OpenGL behavior. Older SPECviewperf versions might also need this.
+          -->
+        <application name="SPECviewperf13" executable="viewperf">
+            <option name="allow_glsl_extension_directive_midshader" value="true" />
+            <option name="allow_glsl_120_subset_in_110" value="true" />
+        </application>
+
         <!-- The GL thread whitelist is below, workarounds are above.
              Keep it that way. -->
 
@@ -585,6 +593,12 @@ TODO: document the other workarounds.
         <application name="DOOM" executable="DOOMx64vk.exe">
             <option name="vk_x11_strict_image_count" value="true" />
         </application>
+
+        <!-- DOOM Doom Eternal happily creates a swapchain with 2 images for
+             IMMEDIATE. This fixes a 10% performance issue with RADV. -->
+        <application name="DOOMEternal" executable="DOOMEternalx64vk.exe">
+            <option name="vk_x11_ensure_min_image_count" value="true" />
+        </application>
     </device>
     <!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
     <device driver="vmwgfx">
@@ -646,6 +660,9 @@ TODO: document the other workarounds.
         <application name="7 Days to Die" executable="7DaysToDie.x86">
             <option name="radeonsi_zerovram" value="true" />
         </application>
+        <application name="SPECviewperf13" executable="viewperf">
+            <option name="radeonsi_sync_compile" value="true" />
+        </application>
     </device>
     <device driver="virtio_gpu">
         <!-- Some Valve games do a final blit to a BRGA_sRGB surface. On a GLES
@@ -654,12 +671,19 @@ TODO: document the other workarounds.
         too dark. -->
         <application name="Half Life 2" executable="hl2_linux">
             <option name="gles_emulate_bgra" value="true" />
+            <option name="gles_apply_bgra_dest_swizzle" value="true"/>
         </application>
         <application name="Portal" executable="hl2_linux">
             <option name="gles_emulate_bgra" value="true" />
+            <option name="gles_apply_bgra_dest_swizzle" value="true"/>
+        </application>
+        <application name="Portal 2" executable="hl2_linux">
+            <option name="gles_emulate_bgra" value="true" />
+            <option name="gles_apply_bgra_dest_swizzle" value="true"/>
         </application>
         <application name="Left 4 Dead 2" executable="hl2_linux">
             <option name="gles_emulate_bgra" value="true" />
+            <option name="gles_apply_bgra_dest_swizzle" value="true"/>
         </application>
         <application name="Dota 2" executable="dota2">
             <option name="gles_emulate_bgra" value="true" />
@@ -691,5 +715,18 @@ TODO: document the other workarounds.
        <application name="RAGE 2" executable="RAGE2.exe">
             <option name="radv_enable_mrt_output_nan_fixup" value="true" />
         </application>
+
+        <application name="Path of Exile (64-bit, Steam)" executable="PathOfExile_x64Steam.exe">
+            <option name="radv_no_dynamic_bounds" value="true" />
+        </application>
+        <application name="Path of Exile (32-bit, Steam)" executable="PathOfExileSteam.exe">
+            <option name="radv_no_dynamic_bounds" value="true" />
+        </application>
+        <application name="Path of Exile (64-bit)" executable="PathOfExile_x64.exe">
+            <option name="radv_no_dynamic_bounds" value="true" />
+        </application>
+        <application name="Path of Exile (32-bit)" executable="PathOfExile.exe">
+            <option name="radv_no_dynamic_bounds" value="true" />
+        </application>
     </device>
 </driconf>