diff options
author | Edmondo Tommasina <[email protected]> | 2017-06-21 22:40:37 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-06-23 19:50:20 +0200 |
commit | 2ea16f08f3f57ce32a2912ddd0ed74027a89a547 (patch) | |
tree | 57975f455ed216c15444cbe31bf424a6ef0d08f9 | |
parent | ee16796d544975c85adadd7e74ea6f09dc426f34 (diff) |
drirc: Add glsl_correct_derivatives_after_discard for The Witcher 2
This fixes the long-standing problem with black transitions in The Wicher 2.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98238
Signed-off-by: Marek Olšák <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/common/drirc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/drirc b/src/mesa/drivers/dri/common/drirc index 7d73b1218b5..494d768312b 100644 --- a/src/mesa/drivers/dri/common/drirc +++ b/src/mesa/drivers/dri/common/drirc @@ -155,6 +155,10 @@ TODO: document the other workarounds. <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> </device> <!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.--> <device driver="vmwgfx"> |