From 1a4c4cd110380c99c51e57c59c868beac01234d2 Mon Sep 17 00:00:00 2001 From: Pierre-Eric Pelloux-Prayer Date: Wed, 9 Dec 2020 15:41:59 +0100 Subject: [PATCH] driconf: add workaround for Enter The Gungeon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Quoting a comment on the bug report: I suspect the shader is incorrect. When a (conditional) discard is executed then control flow becomes non-uniform, meaning that subsequent implicit derivatives required for the texture operation are not computed correctly. Using glsl_correct_derivatives_after_discard fixes it. Note that for radeonsi this requires LLVM master to work properly. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/1386 Reviewed-by: Marek Olšák Part-of: --- src/util/00-mesa-defaults.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf index 6a38e9ab6eb..16e54150c6c 100644 --- a/src/util/00-mesa-defaults.conf +++ b/src/util/00-mesa-defaults.conf @@ -593,6 +593,14 @@ TODO: document the other workarounds.