summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>2021-04-16 09:42:46 +0200
committerMarge Bot <eric+marge@anholt.net>2021-04-29 12:10:55 +0000
commit0477fbc6558444d9f33de50a0656dbe997b6b928 (patch)
tree2e20303eea0218fffb6b46b959aa7491c02639f7 /src
parente532a47f76cc8d763e2534c61b27dce0f5bc86a0 (diff)
downloadmesa-0477fbc6558444d9f33de50a0656dbe997b6b928.tar.gz
mesa-0477fbc6558444d9f33de50a0656dbe997b6b928.tar.bz2
mesa-0477fbc6558444d9f33de50a0656dbe997b6b928.zip
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>
Diffstat (limited to 'src')
-rw-r--r--src/util/00-mesa-defaults.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index ec86d60079f..2b6511f0ffb 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -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. -->