From: Marek Olšák <marek.ol...@amd.com> 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) --- 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 494d768..69b735c 100644 --- a/src/mesa/drivers/dri/common/drirc +++ b/src/mesa/drivers/dri/common/drirc @@ -152,20 +152,36 @@ TODO: document the other workarounds. <option name="glsl_zero_init" value="true"/> </application> <application name="Rocket League" executable="RocketLeague"> <option name="glsl_correct_derivatives_after_discard" value="true"/> </application> <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"> <application name="gnome-shell" executable="gnome-shell"> <option name="glx_disable_ext_buffer_age" value="true" /> <option name="glx_disable_oml_sync_control" value="true" /> </application> <application name="Compiz" executable="Compiz"> <option name="glx_disable_ext_buffer_age" value="true" /> <option name="glx_disable_oml_sync_control" value="true" /> -- 2.7.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev