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

Author: Marek Olšák <[email protected]>
Date:   Thu Jun 22 01:26:54 2017 +0200

drirc: whitelist glthread for a few games

Performance deltas:
    Alien Isolation: +17% (it varies depending on the location)
    Borderlands 2: +50% (it varies depending on the location)
    BioShock Infinite: +76% (benchmark)
    Civilization 6: +20% (benchmark)

Reviewed-by: Timothy Arceri <[email protected]>

---

 src/mesa/drivers/dri/common/drirc | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/src/mesa/drivers/dri/common/drirc 
b/src/mesa/drivers/dri/common/drirc
index 494d768312..69b735ce70 100644
--- a/src/mesa/drivers/dri/common/drirc
+++ b/src/mesa/drivers/dri/common/drirc
@@ -159,6 +159,22 @@ TODO: document the other workarounds.
         <application name="The Witcher 2" executable="witcher2">
             <option name="glsl_correct_derivatives_after_discard" 
value="true"/>
         </application>
+
+        <!-- The GL thread whitelist is below, workarounds are above.
+             Keep it that way. -->
+
+        <application name="Alien Isolation" executable="AlienIsolation">
+            <option name="mesa_glthread" value="true"/>
+        </application>
+        <application name="Civilization 6" executable="Civ6">
+            <option name="mesa_glthread" value="true"/>
+        </application>
+        <application name="BioShock Infinite" executable="bioshock.i386">
+            <option name="mesa_glthread" value="true"/>
+        </application>
+        <application name="Borderlands 2" executable="Borderlands2">
+            <option name="mesa_glthread" value="true"/>
+        </application>
     </device>
     <!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical 
retraces.-->
     <device driver="vmwgfx">

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to