From 09393b33b2ab76ebba697bdeac00d5efdc41ef21 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Thu, 19 Feb 2026 13:27:52 +1100 Subject: [PATCH] util/driconf: add workarounds for Lethis - Path Of Progress MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The game uses glGetUniformLocation() but specifies the wrong program id for one of the uniforms. The shader programs both contain shaders with a uniform of the same name but because they have a different number of uniforms the returned uniform location does not match the expected uniform. Here we add a workaround to force the uniform with the wrong get location params to always have the location 0 so that it doesn't matter which shader the application checks for the location. Cc: mesa-stable Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14864 Reviewed-by: Marek Olšák Part-of: --- src/util/00-mesa-defaults.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf index 809f8acf78e..51453f6aaaa 100644 --- a/src/util/00-mesa-defaults.conf +++ b/src/util/00-mesa-defaults.conf @@ -244,6 +244,11 @@ TODO: document the other workarounds.