drirc: whitelist glthread for The Witcher 2
authorEdmondo Tommasina <edmondo.tommasina@gmail.com>
Mon, 10 Jul 2017 19:12:11 +0000 (21:12 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 14 Jul 2017 21:41:59 +0000 (23:41 +0200)
Performance delta on AMD Phenom II X3 720 / RX 470

    The Witcher 2: +18%

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/drivers/dri/common/drirc

index 418e159e81f2be9e6add5a8164e4b6bd138ffd73..47975c7399464cc3e9d3d66684a78b4e2f3bf509 100644 (file)
@@ -178,6 +178,9 @@ TODO: document the other workarounds.
         <application name="Civilization 5" executable="Civ5XP">
             <option name="mesa_glthread" value="true"/>
         </application>
+        <application name="The Witcher 2" executable="witcher2">
+            <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">