util/driconf: add workarounds for Lethis - Path Of Progress

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 <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40448>
This commit is contained in:
Timothy Arceri 2026-02-19 13:27:52 +11:00 committed by Marge Bot
parent 87ae5cab94
commit 09393b33b2

View file

@ -244,6 +244,11 @@ TODO: document the other workarounds.
<option name="allow_higher_compat_version" value="true" />
</application>
<application name="Lethis - Path Of Progress" executable="Lethis-Path_Of_Progress.exe">
<option name="force_explicit_uniform_loc_zero" value="fQualityFactor" />
<option name="force_compat_profile" value="true" />
</application>
<application name="SNK HEROINES Tag Team Frenzy" executable="SNKHEROINES.exe">
<option name="force_compat_shaders" value="true" />
</application>