[Mesa-dev] [PATCH] drirc: Add glsl_correct_derivatives_after_discard for The Witcher 2
Marek Olšák
maraeo at gmail.com
Thu Jun 22 00:19:31 UTC 2017
Thanks. Applied locally to my branch. If I get an OK to push my
series, I'll push your patch too.
Marek
On Wed, Jun 21, 2017 at 10:40 PM, Edmondo Tommasina
<edmondo.tommasina at gmail.com> wrote:
> This fixes the long-standing problem with black transitions in The Wicher 2.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98238
> ---
> This patch depends on Marek's series:
> https://patchwork.freedesktop.org/series/26089/
>
> src/mesa/drivers/dri/common/drirc | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/mesa/drivers/dri/common/drirc b/src/mesa/drivers/dri/common/drirc
> index 7d73b1218b..494d768312 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">
> --
> 2.11.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list