driconf: add workaround for Golf With Friends

The game has a shader that uses texture functions that rely on implicit
derivatives after a discard.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4547

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10278>
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2021-04-16 09:42:46 +02:00 committed by Marge Bot
parent e532a47f76
commit 0477fbc655

View file

@ -312,6 +312,11 @@ TODO: document the other workarounds.
<option name="allow_glsl_extension_directive_midshader" value="true" />
</application>
<application name="Golf With Your Friends" executable="Golf With Your Friends.x86_64">
<!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/4547 -->
<option name="glsl_correct_derivatives_after_discard" value="true" />
</application>
<!-- The GL thread allowlist is below, workarounds are above.
Keep it that way. -->