From d55ff99ad164cab72fba8bb5bc7c5452cf3dfd65 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 (cherry picked from commit 09393b33b2ab76ebba697bdeac00d5efdc41ef21) Part-of: --- .pick_status.json | 2 +- src/util/00-mesa-defaults.conf | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index b082a8ad873..d10715c9f43 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -6284,7 +6284,7 @@ "description": "util/driconf: add workarounds for Lethis - Path Of Progress", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf index 4a3d41c5bf0..a93728b7fd3 100644 --- a/src/util/00-mesa-defaults.conf +++ b/src/util/00-mesa-defaults.conf @@ -244,6 +244,11 @@ TODO: document the other workarounds.