summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2020-06-13 17:19:51 -0400
committerMarge Bot <eric+marge@anholt.net>2020-06-23 09:25:24 +0000
commit012b7aab260d4d46c5e2d276485ec693a75cceeb (patch)
treee24e9a8ba3e6bd491a9cad01e5eab9b6c08948a6
parentca719c6e303966e8acf8a5d7d094e0075e36f6a0 (diff)
driconf: add workarounds for SPECviewperf13
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5459>
-rw-r--r--src/util/00-mesa-defaults.conf11
1 files changed, 11 insertions, 0 deletions
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