[Mesa-dev] [PATCH] drirc: Add glsl_correct_derivatives_after_discard for The Witcher 2

Andres Gomez agomez at igalia.com
Sat Jul 8 13:58:11 UTC 2017


Related to my previous mail, do we try to pick this for -stable?

On Wed, 2017-06-21 at 22:40 +0200, Edmondo Tommasina 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">
-- 
Br,

Andres


More information about the mesa-dev mailing list