Mesa (master): radeonsi: enable mesa_glthread for GfxBench

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Nov 18 08:18:02 UTC 2019


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

Author: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Date:   Tue Oct 29 15:58:04 2019 +0100

radeonsi: enable mesa_glthread for GfxBench

It improves offscreen tests performance.

Reviewed-by: Marek Olšák <marek.olsak at amd.com>

---

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

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index d64ffdbf211..065efc6b09f 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -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




More information about the mesa-commit mailing list