Mesa (master): driconf: add workarounds for SPECviewperf13

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jun 23 09:56:52 UTC 2020


Module: Mesa
Branch: master
Commit: 012b7aab260d4d46c5e2d276485ec693a75cceeb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=012b7aab260d4d46c5e2d276485ec693a75cceeb

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Sat Jun 13 17:19:51 2020 -0400

driconf: add workarounds for SPECviewperf13

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5459>

---

 src/util/00-mesa-defaults.conf | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index dc7fb30a3f9..b74118160db 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -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. -->
 
@@ -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="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



More information about the mesa-commit mailing list