driconf: add workarounds for SPECviewperf13
authorMarek Olšák <marek.olsak@amd.com>
Sat, 13 Jun 2020 21:19:51 +0000 (17:19 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 23 Jun 2020 09:25:24 +0000 (09:25 +0000)
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5459>

src/util/00-mesa-defaults.conf

index dc7fb30a3f906119a3dd8e17a113853eb98314ef..b74118160db8b0b7c53f2ff3eb0fbbd0184ab1d9 100644 (file)
@@ -278,6 +278,14 @@ TODO: document the other workarounds.
             <option name="force_integer_tex_nearest" value="true" />
         </application>
 
             <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. -->
 
         <!-- The GL thread whitelist is below, workarounds are above.
              Keep it that way. -->
 
@@ -646,6 +654,9 @@ TODO: document the other workarounds.
         <application name="7 Days to Die" executable="7DaysToDie.x86">
             <option name="radeonsi_zerovram" value="true" />
         </application>
         <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
     </device>
     <device driver="virtio_gpu">
         <!-- Some Valve games do a final blit to a BRGA_sRGB surface. On a GLES