radeonsi: enable mesa_glthread for GfxBench
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tue, 29 Oct 2019 14:58:04 +0000 (15:58 +0100)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Mon, 18 Nov 2019 08:16:18 +0000 (09:16 +0100)
It improves offscreen tests performance.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/util/00-mesa-defaults.conf

index d64ffdbf211f9c48d883df0a37044a633a0aa037..065efc6b09fffb913428035d5ebecbd7826172ef 100644 (file)
@@ -523,6 +523,10 @@ TODO: document the other workarounds.
         <application name="DiRT Rally" executable="DirtRally">
             <option name="radeonsi_prim_restart_tri_strips_only" value="true"/>
         </application>
+        <application name="Gfx Bench" executable="gfxbench_gl">
+            <!-- Helps offscreen tests -->
+            <option name="mesa_glthread" value="true"/>
+        </application>
     </device>
     <device driver="virtio_gpu">
         <!-- Some Valve games do a final blit to a BRGA_sRGB surface. On a GLES