mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-24 02:40:34 +01: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> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40448>
This commit is contained in:
parent
87ae5cab94
commit
09393b33b2
1 changed files with 5 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue