mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 18:08:40 +02:00
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>
(cherry picked from commit 09393b33b2)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40752>
This commit is contained in:
parent
1f9129a359
commit
d55ff99ad1
2 changed files with 6 additions and 1 deletions
|
|
@ -6284,7 +6284,7 @@
|
||||||
"description": "util/driconf: add workarounds for Lethis - Path Of Progress",
|
"description": "util/driconf: add workarounds for Lethis - Path Of Progress",
|
||||||
"nominated": true,
|
"nominated": true,
|
||||||
"nomination_type": 1,
|
"nomination_type": 1,
|
||||||
"resolution": 0,
|
"resolution": 1,
|
||||||
"main_sha": null,
|
"main_sha": null,
|
||||||
"because_sha": null,
|
"because_sha": null,
|
||||||
"notes": null
|
"notes": null
|
||||||
|
|
|
||||||
|
|
@ -244,6 +244,11 @@ TODO: document the other workarounds.
|
||||||
<option name="allow_higher_compat_version" value="true" />
|
<option name="allow_higher_compat_version" value="true" />
|
||||||
</application>
|
</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">
|
<application name="SNK HEROINES Tag Team Frenzy" executable="SNKHEROINES.exe">
|
||||||
<option name="force_compat_shaders" value="true" />
|
<option name="force_compat_shaders" value="true" />
|
||||||
</application>
|
</application>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue